三七 2 недель назад
Родитель
Сommit
a89f193854
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      fs-service/src/main/java/com/fs/his/mapper/FsUserIntegralLogsMapper.java

+ 1 - 0
fs-service/src/main/java/com/fs/his/mapper/FsUserIntegralLogsMapper.java

@@ -77,6 +77,7 @@ public interface FsUserIntegralLogsMapper
             "LEFT JOIN fs_user u ON u.user_id=l.user_id "+
             "LEFT JOIN fs_user u ON u.user_id=l.user_id "+
             " <where>  \n" +
             " <where>  \n" +
             "            <if test=\"userId != null \"> and l.user_id = #{userId}</if>\n" +
             "            <if test=\"userId != null \"> and l.user_id = #{userId}</if>\n" +
+            "            <if test=\"nick_name != null \"> and u.nick_name = #{nickName}</if>\n" +
             "            <if test=\"logType != null  and logType != ''\"> and log_type = #{logType}</if>\n" +
             "            <if test=\"logType != null  and logType != ''\"> and log_type = #{logType}</if>\n" +
             "            <if test=\"phone != null \"> and u.phone = #{phone}</if>\n" +
             "            <if test=\"phone != null \"> and u.phone = #{phone}</if>\n" +
             "            <if test=\"businessId != null  and businessId != ''\"> and business_id = #{businessId}</if>\n" +
             "            <if test=\"businessId != null  and businessId != ''\"> and business_id = #{businessId}</if>\n" +