|
|
|
@ -2,43 +2,6 @@
|
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
<mapper namespace="com.glxp.api.dao.thrsys.ThrProductsDao">
|
|
|
|
|
|
|
|
|
|
<!-- 通用查询映射结果 -->
|
|
|
|
|
<resultMap id="BaseResultMap" type="com.glxp.api.entity.thrsys.ThrProductsEntity">
|
|
|
|
|
<id column="id" property="id" />
|
|
|
|
|
<result column="code" property="code" />
|
|
|
|
|
<result column="name" property="name" />
|
|
|
|
|
<result column="measname" property="measname" />
|
|
|
|
|
<result column="spec" property="spec" />
|
|
|
|
|
<result column="registerNo" property="registerNo" />
|
|
|
|
|
<result column="manufactory" property="manufactory" />
|
|
|
|
|
<result column="thirdSysFk" property="thirdSysFk" />
|
|
|
|
|
<result column="cplb" property="cplb" />
|
|
|
|
|
<result column="flbm" property="flbm" />
|
|
|
|
|
<result column="qxlb" property="qxlb" />
|
|
|
|
|
<result column="ybbm" property="ybbm" />
|
|
|
|
|
<result column="sptm" property="sptm" />
|
|
|
|
|
<result column="tyshxydm" property="tyshxydm" />
|
|
|
|
|
<result column="zczbhhzbapzbh" property="zczbhhzbapzbh" />
|
|
|
|
|
<result column="ylqxzcrbarmc" property="ylqxzcrbarmc" />
|
|
|
|
|
<result column="ylqxzcrbarywmc" property="ylqxzcrbarywmc" />
|
|
|
|
|
<result column="cpms" property="cpms" />
|
|
|
|
|
<result column="updateTime" property="updateTime" />
|
|
|
|
|
<result column="supName" property="supName" />
|
|
|
|
|
<result column="model" property="model" />
|
|
|
|
|
<result column="standard" property="standard" />
|
|
|
|
|
<result column="qtbm" property="qtbm" />
|
|
|
|
|
<result column="zczyxqz" property="zczyxqz" />
|
|
|
|
|
<result column="remark" property="remark" />
|
|
|
|
|
<result column="remark1" property="remark1" />
|
|
|
|
|
<result column="remark2" property="remark2" />
|
|
|
|
|
<result column="remark3" property="remark3" />
|
|
|
|
|
<result column="price" property="price" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
id, code, name, measname, spec, registerNo, manufactory, thirdSysFk, cplb, flbm, qxlb, ybbm, sptm, tyshxydm, zczbhhzbapzbh, ylqxzcrbarmc, ylqxzcrbarywmc, cpms, updateTime, supName, model, standard, qtbm, zczyxqz, remark, remark1, remark2, remark3, price
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="filterThrProductsRequest" parameterType="com.glxp.api.req.thrsys.FilterThrProductsRequest"
|
|
|
|
|
resultType="com.glxp.api.res.thrsys.ThrProductsResponse">
|
|
|
|
@ -106,7 +69,7 @@
|
|
|
|
|
INTO thr_products
|
|
|
|
|
(code, `name`, measname, spec, registerNo, manufactory,
|
|
|
|
|
cplb, flbm, qxlb, ybbm, sptm, tyshxydm, zczbhhzbapzbh, ylqxzcrbarmc, ylqxzcrbarywmc, cpms,
|
|
|
|
|
thirdSysFk, updateTime, supName, model, standard, qtbm, zczyxqz, remark, remark1, remark2, remark3,price)
|
|
|
|
|
thirdSysFk, updateTime, supName, model, standard, qtbm, zczyxqz, remark, remark1, remark2, remark3,price,createUser,createTime,updateUser)
|
|
|
|
|
values (
|
|
|
|
|
#{code},
|
|
|
|
|
#{name},
|
|
|
|
@ -135,7 +98,10 @@
|
|
|
|
|
#{remark1},
|
|
|
|
|
#{remark2},
|
|
|
|
|
#{remark3},
|
|
|
|
|
#{price}
|
|
|
|
|
#{price},
|
|
|
|
|
#{createUser},
|
|
|
|
|
#{createTime},
|
|
|
|
|
#{updateUser}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|