From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:22:45 +0800 Subject: [PATCH] 描述 --- src/main/java/com/gk/firework/Mapper/mybatis/TransportCertificateProductMapper.xml | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Mapper/mybatis/TransportCertificateProductMapper.xml b/src/main/java/com/gk/firework/Mapper/mybatis/TransportCertificateProductMapper.xml new file mode 100644 index 0000000..3109d47 --- /dev/null +++ b/src/main/java/com/gk/firework/Mapper/mybatis/TransportCertificateProductMapper.xml @@ -0,0 +1,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> \ No newline at end of file -- Gitblit v1.9.2