对比新文件 |
| | |
| | | <?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> |