Browse Source

fix: 工作日志姓名查询fix

zhangying 11 months ago
parent
commit
174ac8338f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapping/cquery/DoWorkCQuery.xml

+ 1 - 1
src/main/resources/mapping/cquery/DoWorkCQuery.xml

@@ -30,7 +30,7 @@
             and doworkID in (${doWorkIDList})
         </if>
         <if test="userName!='' and userName!=null">
-            and siteUser.Name like Concat('%',#{userName},'%')
+            and siteUser.SiteUserName like Concat('%',#{userName},'%')
         </if>
         <if test="workStartDate!='' and workStartDate!=null">
             and workLog.workTime  <![CDATA[ >= ]]> #{workStartDate}