Browse Source

资料审核

change 3 years ago
parent
commit
951c7bc06a

+ 1 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/UserProfileServiceImpl.java

@@ -204,6 +204,7 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
         update.setCreateByName("SAAS-"+ SecurityUtils.getUsername());
         update.setUpdateTime(DateUtils.getNowTime());
         update.setAuditTime(DateUtils.getNowTime());
+        update.setChangeStatus(1);
         return this.updateById(update);
     }
 

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/base/UserProfileMapper.xml

@@ -154,6 +154,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         user_profile up
         where 1=1
         and up.status != 2
+        AND up.change_status != 2
         <if test="typeStatus != null and typeStatus !='' ">
             and up.type_status = #{typeStatus}
         </if>