Просмотр исходного кода

Merge remote-tracking branch 'origin/test' into test

785834757 2 лет назад
Родитель
Сommit
eda4de824a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/main/resources/mapper/modules/admin/SysDeptAccountHistoryMapper.xml

+ 3 - 0
src/main/resources/mapper/modules/admin/SysDeptAccountHistoryMapper.xml

@@ -40,6 +40,9 @@
         <if test="sysDeptAccountHistoryDto.deptName != null and sysDeptAccountHistoryDto.deptName != ''">
         <if test="sysDeptAccountHistoryDto.deptName != null and sysDeptAccountHistoryDto.deptName != ''">
             AND b.name = #{sysDeptAccountHistoryDto.deptName}
             AND b.name = #{sysDeptAccountHistoryDto.deptName}
         </if>
         </if>
+        <if test="sysDeptAccountHistoryDto.suborder != null and sysDeptAccountHistoryDto.suborder != ''">
+            AND a.suborder = #{sysDeptAccountHistoryDto.suborder}
+        </if>
         <if test="sysDeptAccountHistoryDto.documentary != null and sysDeptAccountHistoryDto.documentary != ''">
         <if test="sysDeptAccountHistoryDto.documentary != null and sysDeptAccountHistoryDto.documentary != ''">
             AND a.documentary = #{sysDeptAccountHistoryDto.documentary}
             AND a.documentary = #{sysDeptAccountHistoryDto.documentary}
         </if>
         </if>