hubin 1 жил өмнө
parent
commit
577f229e5a

+ 1 - 1
src/main/resources/mapper/FlowlongMapper.xml

@@ -21,7 +21,7 @@
             AND p.process_name LIKE CONCAT(CONCAT('%',#{dto.processName}),'%')
         </if>
         <if test="dto.createBy != null and dto.createBy != '' ">
-            AND t.create_by LIKE CONCAT(CONCAT('%',#{dto.createBy}),'%')
+            AND p.create_by LIKE CONCAT(CONCAT('%',#{dto.createBy}),'%')
         </if>
         <if test="dto.instanceState != null">
             AND i.instance_state = #{dto.instanceState}

+ 1 - 1
src/main/resources/mapper/SysUserMapper.xml

@@ -16,7 +16,7 @@
         WHERE u.deleted = 0
         <if test="vo != null">
             <if test="vo.username != null">
-                AND u.username LIKE CONCAT(CONCAT('%',#{vo.username}),'%')
+                AND (u.username LIKE CONCAT(CONCAT('%',#{vo.username}),'%') OR u.real_name LIKE CONCAT(CONCAT('%',#{vo.username}),'%'))
             </if>
             <if test="vo.jobNum != null">
                 AND u.job_num LIKE CONCAT(CONCAT('%',#{vo.jobNum}),'%')