Administrator
2023-06-19 49588f5a462ae7425e7eb030438a35fd80c246fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gk.firework.Mapper.TransportCertificateProductMapper">
  <resultMap id="BaseResultMap" type="com.gk.firework.Domain.TransportCertificateProduct">
    <!--          -->
    <id column="id" jdbcType="BIGINT" property="id" />
    <result column="certificatecode" jdbcType="VARCHAR" property="certificatecode" />
    <result column="productcode" jdbcType="VARCHAR" property="productcode" />
    <result column="num" jdbcType="INTEGER" property="num" />
    <result column="type" jdbcType="VARCHAR" property="type" />
    <result column="name" jdbcType="VARCHAR" property="name" />
    <result column="level" jdbcType="VARCHAR" property="level" />
    <result column="packing" jdbcType="VARCHAR" property="packing" />
    <result column="specification" jdbcType="VARCHAR" property="specification" />
    <result column="validflag" jdbcType="BIT" property="validflag" />
  </resultMap>
  <update id="deleteByCertificateCode"  parameterType="java.lang.String">
    update transportcertificateproduct
    set validflag = 0
    where certificatecode= #{code}
  </update>
 
</mapper>