浏览代码

【贝腾】【商机增加客户编号】

wub 7 小时之前
父节点
当前提交
265eb8dd07

+ 1 - 0
src/main/java/com/uas/eis/convertor/BusinessChanceConvertor.java

@@ -32,6 +32,7 @@ public class BusinessChanceConvertor {
         businessChanceResp.setDesc8(businessChanceDTO.getBc_desc8());
         businessChanceResp.setDoman(businessChanceDTO.getBc_doman());
         businessChanceResp.setLastdate(businessChanceDTO.getBc_lastdate());
+        businessChanceResp.setCustcode(businessChanceDTO.getBc_custcode());
         businessChanceResp.setCustname(businessChanceDTO.getBc_custname());
         businessChanceResp.setPosition(businessChanceDTO.getBc_position());
         businessChanceResp.setRecorder(businessChanceDTO.getBc_recorder());

+ 1 - 0
src/main/java/com/uas/eis/sdk/dto/BusinessChanceDTO.java

@@ -30,6 +30,7 @@ public class BusinessChanceDTO {
     private String bc_desc8;
     private String bc_doman;
     private Date bc_lastdate;
+    private String bc_custcode;
     private String bc_custname;
     private String bc_position;
     private String bc_recorder;

+ 1 - 0
src/main/java/com/uas/eis/sdk/dto/BusinessChanceResp.java

@@ -30,6 +30,7 @@ public class BusinessChanceResp {
     private String desc8;
     private String doman;
     private Date lastdate;
+    private String custcode;
     private String custname;
     private String position;
     private String recorder;

+ 1 - 1
src/main/java/com/uas/eis/service/Impl/STKServiceImpl.java

@@ -136,7 +136,7 @@ public class STKServiceImpl implements STKService {
         int start = ((pageNum - 1) * pageSize + 1);
         int end = pageNum * pageSize;
 
-        List<BusinessChanceDTO> businessChanceDTOS = baseDao.query("select * from (select rownum rn,AA.* from (select bc_code,bc_description,bc_lockstatus,bc_khlx_user,bc_nichehouse,bc_currentprocess,bc_status,bc_agency,bt_tel,bc_desc8,bc_doman,bc_lastdate,bc_custname,bc_position,bc_recorder,bc_recorddate,bc_id,bc_recorderid,bc_statuscode,bc_remark,bc_contact,bc_desc4,bc_tel,bc_desc5,bc_attach,bc_address,bc_desc6,bc_domancode,bc_lockdate,bc_decisionmanphone,bc_designname,bc_domandepart,bc_from from BusinessChance where bc_statuscode in ('AUDITED','FINISH') order by bc_id desc)  AA ) where rn>="+start+" and rn<="+end , BusinessChanceDTO.class);
+        List<BusinessChanceDTO> businessChanceDTOS = baseDao.query("select * from (select rownum rn,AA.* from (select bc_code,bc_description,bc_lockstatus,bc_khlx_user,bc_nichehouse,bc_currentprocess,bc_status,bc_agency,bt_tel,bc_desc8,bc_doman,bc_lastdate,bc_custcode,bc_custname,bc_position,bc_recorder,bc_recorddate,bc_id,bc_recorderid,bc_statuscode,bc_remark,bc_contact,bc_desc4,bc_tel,bc_desc5,bc_attach,bc_address,bc_desc6,bc_domancode,bc_lockdate,bc_decisionmanphone,bc_designname,bc_domandepart,bc_from from BusinessChance where bc_statuscode in ('AUDITED','FINISH') order by bc_id desc)  AA ) where rn>="+start+" and rn<="+end , BusinessChanceDTO.class);
 
         if (businessChanceDTOS.size() == 0 ){
             return Result.error("商机资料无数据!");