anderx лет назад: 2
Родитель
Сommit
a7cbef5322

+ 9 - 0
src/main/java/com/goafanti/RD/bo/InputRdList.java

@@ -5,9 +5,18 @@ public class InputRdList {
     private String rdEnd;
     private String rdName;
     private String rdNo;
+    private String consultantName;
     private Integer pageSize;
     private Integer pageNo;
 
+    public String getConsultantName() {
+        return consultantName;
+    }
+
+    public void setConsultantName(String consultantName) {
+        this.consultantName = consultantName;
+    }
+
     public String getRdNo() {
         return rdNo;
     }

+ 1 - 0
src/main/java/com/goafanti/RD/service/impl/RDServiceImpl.java

@@ -79,6 +79,7 @@ public class RDServiceImpl extends BaseMybatisDao<RdDetailsMapper> implements RD
         param.put("RdNo", in.getRdNo());
         param.put("RdEnd", in.getRdEnd());
         param.put("RdName", in.getRdName());
+        param.put("consultantName", in.getConsultantName());
         if (TokenManager.hasRole(AFTConstants.SUPERADMIN)||TokenManager.hasRole(AFTConstants.APPROVAL_DECISION_ASSISTANT)||TokenManager.hasRole(AFTConstants.CED)){
 
         }else {

+ 6 - 0
src/main/java/com/goafanti/common/mapper/RdDetailsMapper.xml

@@ -310,6 +310,9 @@
     <if test="RdNo !=null ">
       and a.rd_no like concat('%',#{RdNo},'%')
     </if>
+    <if test="consultantName !=null">
+      and a.consultant_name like concat('%',#{consultantName},'%')
+    </if>
     <if test="aid !=null ">
       and a.aid =#{aid}
     </if>
@@ -331,6 +334,9 @@
     <if test="RdNo !=null ">
       and a.rd_no like concat('%',#{RdNo},'%')
     </if>
+    <if test="consultantName !=null">
+      and a.consultant_name like concat('%',#{consultantName},'%')
+    </if>
     <if test="aid !=null ">
       and a.aid =#{aid}
     </if>