| | |
| | | blade_user bu |
| | | LEFT JOIN blade_dept dept ON substring_index( substring_index( bu.dept_id, ',', 3 ), ',',- 1 ) = dept.id |
| | | WHERE |
| | | bu.jurisdiction = "1415620815526883329" |
| | | bu.jurisdiction = #{xid} |
| | | <if test="index == 1"> |
| | | AND dept.id = '1424615693403414529' |
| | | </if> |
| | |
| | | </select> |
| | | |
| | | <update id="updateAcc"> |
| | | update blade_user set stype=#{stype} where account=#{account} |
| | | update blade_user set stype=#{stype},firstlogin = "1" where account=#{account} |
| | | </update> |
| | | <update id="firstLogin"> |
| | | update blade_user set firstlogin = "0" where id=#{id} |
| | | </update> |
| | | |
| | | <delete id="delete"> |