Bladeren bron

计划单统计表 条件查询

liuchaohui 2 jaren geleden
bovenliggende
commit
9e14a45b7d

+ 9 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/costLossReview/mapper/xml/SyCostLossReviewMapper.xml

@@ -63,6 +63,15 @@
         <if test="e.planNo !=null and e.planNo !=''">
            and planNo like CONCAT(#{e.planNo},'%')
         </if>
+        <if test="e.dverifyDate !=null and e.dverifyDate !=''">
+            and dverifyDate = #{e.dverifyDate}
+        </if>
+        <if test="e.department !=null and e.department !=''">
+            and department like CONCAT(#{e.department},'%')
+        </if>
+        <if test="e.salesman !=null and e.salesman !=''">
+            and salesman like CONCAT(#{e.salesman},'%')
+        </if>
         group by planNo
 
     </select>