Преглед на файлове

个贷正在进行中增加项目作废查询条件

wucl преди 5 месеца
родител
ревизия
9e4f9eae6d
променени са 2 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 6 0
      dao/src/main/resources/mapper/PersonalMapper.xml
  2. 5 0
      domain/src/main/java/com/dayou/vo/PersonalVO.java

+ 6 - 0
dao/src/main/resources/mapper/PersonalMapper.xml

@@ -156,6 +156,12 @@
         <if test="personal!=null and personal.handlerName!=null and personal.handlerName!='' ">
             and u4.name like concat('%',#{personal.handlerName},'%')
         </if>
+        <if test="personal!=null and personal.isCancellation!=null and personal.isCancellation==true">
+            and u4.name = '项目作废'
+        </if>
+        <if test="personal!=null and personal.isCancellation!=null and personal.isCancellation==false">
+            and u4.name != '项目作废'
+        </if>
         <if test="personal!=null and personal.userIds!=null and personal.userIds.size!=0">
             and p.client_manager_id in
             <foreach collection="personal.userIds" open="(" close=")" separator="," item="userId">

+ 5 - 0
domain/src/main/java/com/dayou/vo/PersonalVO.java

@@ -213,4 +213,9 @@ public class PersonalVO extends Personal {
 
     private Set<Long> userIds;
 
+    /**
+     * 项目作废(查询条件)
+     */
+    private Boolean isCancellation;
+
 }