三维客户创建人
This commit is contained in:
parent
d91b75dae4
commit
a6a85ecca4
|
@ -11,6 +11,10 @@ public class SendContractEntity extends BaseEntity {
|
|||
private String projectCode;
|
||||
//项目名称
|
||||
private String projectName;
|
||||
//BIP客户编码
|
||||
private String khcode;
|
||||
//BIP创建人
|
||||
private String cjr;
|
||||
//状态 空是未发送 0、失败 1、成功
|
||||
private String status;
|
||||
//描述
|
||||
|
@ -55,4 +59,20 @@ public class SendContractEntity extends BaseEntity {
|
|||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public String getKhcode() {
|
||||
return khcode;
|
||||
}
|
||||
|
||||
public void setKhcode(String khcode) {
|
||||
this.khcode = khcode;
|
||||
}
|
||||
|
||||
public String getCjr() {
|
||||
return cjr;
|
||||
}
|
||||
|
||||
public void setCjr(String cjr) {
|
||||
this.cjr = cjr;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,11 +9,13 @@
|
|||
SELECT
|
||||
id,
|
||||
field0007 as projectCode,
|
||||
field0009 as projectName
|
||||
field0009 as projectName,
|
||||
field0432 as khcode,
|
||||
field0433 as cjr
|
||||
FROM
|
||||
formmain_0219
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
((field0429 = '0' AND field0430 = '执行失败,Token获取失败') or field0429 is null )
|
||||
(field0429 = '0' or field0429 is null )
|
||||
<if test="id != null and id !='' ">and id = #{id}</if>
|
||||
<![CDATA[ and ROWNUM <= 50 ]]>
|
||||
</trim>
|
||||
|
|
|
@ -174,7 +174,11 @@ public class SendContractPluginInitializer extends PluginBaseEntity {
|
|||
ufinterface.put("pk_defdoclist","HHWDH");
|
||||
|
||||
billhead.put("filesource","1");
|
||||
billhead.put("creator","OA01");
|
||||
if(sendContractEntity.getCjr() != null && !"".equals(sendContractEntity.getCjr())){
|
||||
billhead.put("creator",sendContractEntity.getCjr());
|
||||
}else {
|
||||
billhead.put("creator","OA01");
|
||||
}
|
||||
billhead.put("transi_type","4D10-01");
|
||||
billhead.put("bill_type","4D10");
|
||||
billhead.put("pk_eps","0202");
|
||||
|
@ -182,6 +186,7 @@ public class SendContractPluginInitializer extends PluginBaseEntity {
|
|||
billhead.put("pk_org","666");
|
||||
billhead.put("project_code",sendContractEntity.getProjectCode());
|
||||
billhead.put("project_name",sendContractEntity.getProjectName());
|
||||
billhead.put("def1",sendContractEntity.getKhcode());//BIP客户编码
|
||||
bill.put("billhead",billhead);
|
||||
ufinterface.put("bill",bill);
|
||||
jsonObject.put("ufinterface",ufinterface);
|
||||
|
|
Loading…
Reference in New Issue