| | |
| | | </if> |
| | | <if |
| | | test="(record.suName!=null and record.suName!='') or (record.suName!='' and record.suName==0)"> |
| | | and su_name like concat('%',#{record.suName},'%') |
| | | and (su_name like concat('%',concat(#{record.suName},'%')) or su_tel = #{record.suName}) |
| | | </if> |
| | | <if |
| | | test="(record.suTel!=null and record.suTel!='') or (record.suTel!='' and record.suTel==0)"> |
| | |
| | | <select id="selectByRoleName" resultMap="SysUsersMap"> |
| | | |
| | | SELECT |
| | | a.* |
| | | distinct a.* |
| | | FROM |
| | | sys_users a |
| | | LEFT JOIN sys_role r ON FIND_IN_SET(r.role_id, a.role_ids) |
| | |
| | | <if test="users.shopId !=null and users.shopId !=''"> |
| | | AND a.SHOP_ID = #{users.shopId} |
| | | </if> |
| | | |
| | | ORDER BY |
| | | a.SIGN_ORDER IS NULL, |
| | | a.SIGN_ORDER |
| | |
| | | where id=#{id} |
| | | </update> |
| | | |
| | | |
| | | <select id="selectAppVersion" resultType="com.matrix.system.hive.bean.AppVersion"> |
| | | select * from app_version |
| | | </select> |
| | | </mapper> |