fix:外销合同变更单合同签章问题处理
This commit is contained in:
parent
676b128aa6
commit
b94d31f9eb
@ -119,10 +119,13 @@ public class ObjectToJsonUtils {
|
|||||||
JSONObject Object = new JSONObject();
|
JSONObject Object = new JSONObject();
|
||||||
Object.put("formCodeId", dataEntity.getString("yem_yzjid"));
|
Object.put("formCodeId", dataEntity.getString("yem_yzjid"));
|
||||||
if (creator == null || creator.length() == 0) {
|
if (creator == null || creator.length() == 0) {
|
||||||
DynamicObject loadSingle = BusinessDataServiceHelper.loadSingle(pkid, dataEntity.getDynamicObjectType().getName());
|
Object.put("creator", dataEntity.getString("yem_creator"));
|
||||||
Object.put("creator", loadSingle.getString("yem_operator"));
|
|
||||||
} else {
|
} else {
|
||||||
Object.put("creator", creator);
|
if ("yem_es_xsalesorder".equals(entityName)||"yem_es_salesorder".equals(entityName)){
|
||||||
|
Object.put("creator", dataEntity.getString("yem_operator.useropenid"));
|
||||||
|
}else {
|
||||||
|
Object.put("creator", creator);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
JSONObject widgetValueObject = new JSONObject();//单据头对象
|
JSONObject widgetValueObject = new JSONObject();//单据头对象
|
||||||
JSONObject json = new JSONObject();//
|
JSONObject json = new JSONObject();//
|
||||||
|
Loading…
Reference in New Issue
Block a user