tangzy
2021-08-25 2063a93b5f7d4837e0dfd7c2c3c936af8419700f
src/main/java/org/springblade/modules/permit/mapper/PermitMapper.xml
@@ -29,6 +29,7 @@
        <result column="contacts" property="contacts"/>
        <result column="contactscell" property="contactscell"/>
        <result column="approve" property="approve"/>
        <result column="jurisdiction" property="jurisdiction"/>
    </resultMap>
@@ -40,8 +41,7 @@
    <select id="selectIn" resultType="java.util.HashMap">
        select *
        from sys_permit
        where storage = 0
          and cardid = #{cardid}
        where  and cardid = #{cardid} and ptype=#{type }
    </select>
    <insert id="insertPer" useGeneratedKeys="true" keyProperty="id">