| | |
| | | </if> |
| | | </trim> |
| | | </select> |
| | | <select id="selectAll" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from ba_user |
| | | where supper_admin!=1 and deleted!=1 and disabled!=1 |
| | | order by id ASC |
| | | </select> |
| | | |
| | | <select id="selectNamesByAssistants" parameterType="java.lang.String" resultType="java.lang.String"> |
| | | SELECT GROUP_CONCAT(name) AS assistantNames FROM ba_user WHERE id IN |
| | | <if test="assistants != null and assistants !=''"> |
| | |
| | | <if test="password!= null and password !=''"> |
| | | `password`, |
| | | </if> |
| | | <if test="supperAdmin!= null and supperAdmin !=''"> |
| | | <if test="supperAdmin!= null"> |
| | | supper_admin, |
| | | </if> |
| | | <if test="disabled != null"> |
| | |
| | | <if test="password!= null and password !=''"> |
| | | #{password}, |
| | | </if> |
| | | <if test="supperAdmin!= null and supperAdmin !=''"> |
| | | <if test="supperAdmin!= null"> |
| | | #{supperAdmin}, |
| | | </if> |
| | | <if test="disabled != null"> |
| | |
| | | <if test="password!= null and password !=''"> |
| | | `password` = #{password}, |
| | | </if> |
| | | <if test="supperAdmin!= null and supperAdmin !=''"> |
| | | <if test="supperAdmin!= null"> |
| | | supper_admin = #{supperAdmin}, |
| | | </if> |
| | | <if test="disabled != null"> |