洪城义警-正式版后台
zengh
2021-11-03 832e8b38fca15de680a7d41764a52a8055ad02e2
注册保存身份证
1 files modified
5 ■■■■ changed files
src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml 5 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
@@ -34,13 +34,16 @@
        <if test="zc.type != null and zc.type != '' ">
            and type like CONCAT('%',#{zc.type},'%')
        </if>
        <if test="zc.cardid != null and zc.cardid != '' ">
            and cardid like CONCAT('%',#{zc.cardid},'%')
        </if>
        and type != 1
    </select>
    <!--注册新增-->
   <insert id="inster">
       insert  into act_zc(username,password,sname,sex,phone,zctime,deptid,parent_id,jurisdiction) values(#{username},#{password},#{sname},#{sex},#{phone},#{zctime},#{deptid},#{parentId},#{jurisdiction})
       insert  into act_zc(username,password,sname,sex,phone,zctime,deptid,parent_id,jurisdiction,cardid) values(#{username},#{password},#{sname},#{sex},#{phone},#{zctime},#{deptid},#{parentId},#{jurisdiction},#{cardid})
   </insert>
    <select id="selectType" resultType="String">