| | |
| | | |
| | | <!--注册新增--> |
| | | <insert id="inster" useGeneratedKeys="true" keyProperty="id" keyColumn="id"> |
| | | insert into act_zc(username, password, sname, sex, phone, zctime, deptid, parent_id, jurisdiction, cardid,address) |
| | | insert into act_zc(username, password, sname, sex, phone, zctime, deptid, parent_id, jurisdiction, cardid,address,workaddress, workjurisdiction, signals,job_unit) |
| | | values (#{username}, #{password}, #{sname}, #{sex}, #{phone}, #{zctime}, #{deptid}, #{parentId}, |
| | | #{jurisdiction}, #{cardid},#{address}) |
| | | #{jurisdiction}, #{cardid},#{address},#{workaddress},#{workjurisdiction},#{signals},#{jobUnit}) |
| | | </insert> |
| | | |
| | | <select id="selectType" resultType="String"> |
| | |
| | | where username = #{param1} |
| | | </select> |
| | | |
| | | <update id="updateExamine"> |
| | | update act_zc set type=1 where id in (${ids}); |
| | | update blade_user set stype=1,firstlogin = "1" where account in |
| | | <foreach collection="names" index="index" item="item" open="(" separator="," close=")"> |
| | | "${item}" |
| | | </foreach> |
| | | </update> |
| | | |
| | | <select id="selecyZcCount" resultType="java.lang.Integer"> |
| | | select count(*) |
| | | from act_zc |