| | |
| | | <mapper namespace="com.whyc.mapper.UserMapper" > |
| | | |
| | | <select id="searchCS_All2" resultType="com.whyc.pojo.db_user.User"> |
| | | SELECT distinct id,name FROM db_user.tb_user where id not in (select distinct id from db_user.tb_permitgroup_usr) and id>100 |
| | | SELECT distinct id,name FROM db_user.tb_user where id not in (select distinct uid from db_user.tb_permitgroup_usr) and id>100 |
| | | order by id |
| | | </select> |
| | | <update id="createNumber"> |
| | |
| | | <where> |
| | | id>100 and |
| | | id in( |
| | | select distinct id from db_user.tb_baojigroup_usr |
| | | select distinct uid from db_user.tb_baojigroup_usr |
| | | <where> |
| | | baoji_id in( |
| | | baoji_group_id in( |
| | | <foreach collection="baojiIdList" item="baojiId" open="(" separator="," close=")"> |
| | | #{baojiId} |
| | | </foreach> |