diff --git a/src/main/java/com/zcloud/controller/bus/CorpInfoController.java b/src/main/java/com/zcloud/controller/bus/CorpInfoController.java index 4b029c0..4e39ad7 100644 --- a/src/main/java/com/zcloud/controller/bus/CorpInfoController.java +++ b/src/main/java/com/zcloud/controller/bus/CorpInfoController.java @@ -2325,7 +2325,7 @@ public class CorpInfoController extends BaseController { PageData muser = new PageData(); muser.put("MAINTENANCE_ID", this.get32UUID()); //ID 主键 muser.put("CORPINFO_ID", pd.get("CORPINFO_ID")); //企业ID - muser.put("MARKETING_PERSON", pd.get("MARKETING_PERSON")); + muser.put("MARKETING_PERSON", Tools.notEmpty(pd.getString("MARKETING_PERSON")) ? pd.get("MARKETING_PERSON") : "1"); muser.put("AGENCY_MANAGEMENT_ID", Jurisdiction.getAGENCY_MANAGEMENT_ID()); muser.put("ISDELETE", "0"); //是否为主账号 muser.put("CREATOR", Jurisdiction.getUsername()); //添加人