first commit

This commit is contained in:
2026-01-16 14:13:44 +08:00
commit 903ff8d495
34603 changed files with 8585054 additions and 0 deletions

View File

@ -0,0 +1,292 @@
<?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="sfc.AGVdataMapper" >
<resultMap id="BaseResultMap" type="com.sipai.entity.sfc.AGVdata" >
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="insdt" property="insdt" jdbcType="TIMESTAMP" />
<result column="insuser" property="insuser" jdbcType="VARCHAR" />
<result column="modifydt" property="modifydt" jdbcType="TIMESTAMP" />
<result column="modifier" property="modifier" jdbcType="VARCHAR" />
<result column="remark" property="remark" jdbcType="VARCHAR" />
<result column="name" property="name" jdbcType="VARCHAR" />
<result column="mission" property="mission" jdbcType="VARCHAR" />
<result column="pointa" property="pointa" jdbcType="VARCHAR" />
<result column="pointb" property="pointb" jdbcType="VARCHAR" />
<result column="t" property="t" jdbcType="TIMESTAMP" />
<result column="carNo" property="carno" jdbcType="VARCHAR" />
<result column="rules" property="rules" jdbcType="VARCHAR" />
<result column="statustype" property="statustype" jdbcType="VARCHAR" />
<result column="MatCode" property="matcode" jdbcType="VARCHAR" />
<result column="MatName" property="matname" jdbcType="VARCHAR" />
<result column="MatType" property="mattype" jdbcType="VARCHAR" />
<result column="BoxNumber" property="boxnumber" jdbcType="VARCHAR" />
<result column="BoxRFID" property="boxrfid" jdbcType="VARCHAR" />
<result column="Digit" property="digit" jdbcType="VARCHAR" />
<result column="Result" property="result" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
id, insdt, insuser, modifydt, modifier, remark, name, mission, pointa, pointb, t,
carNo, rules, statustype, MatCode, MatName, MatType, BoxNumber, BoxRFID, Digit, Result
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_AGVdata
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from tb_sfc_AGVdata
where id = #{id,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.sipai.entity.sfc.AGVdata" >
insert into tb_sfc_AGVdata (id, insdt, insuser,
modifydt, modifier, remark,
name, mission, pointa,
pointb, t, carNo,
rules, statustype, MatCode,
MatName, MatType, BoxNumber,
BoxRFID, Digit, Result
)
values (#{id,jdbcType=VARCHAR}, #{insdt,jdbcType=TIMESTAMP}, #{insuser,jdbcType=VARCHAR},
#{modifydt,jdbcType=TIMESTAMP}, #{modifier,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR}, #{mission,jdbcType=VARCHAR}, #{pointa,jdbcType=VARCHAR},
#{pointb,jdbcType=VARCHAR}, #{t,jdbcType=TIMESTAMP}, #{carno,jdbcType=VARCHAR},
#{rules,jdbcType=VARCHAR}, #{statustype,jdbcType=VARCHAR}, #{matcode,jdbcType=VARCHAR},
#{matname,jdbcType=VARCHAR}, #{mattype,jdbcType=VARCHAR}, #{boxnumber,jdbcType=VARCHAR},
#{boxrfid,jdbcType=VARCHAR}, #{digit,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.sipai.entity.sfc.AGVdata" >
insert into tb_sfc_AGVdata
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="insdt != null" >
insdt,
</if>
<if test="insuser != null" >
insuser,
</if>
<if test="modifydt != null" >
modifydt,
</if>
<if test="modifier != null" >
modifier,
</if>
<if test="remark != null" >
remark,
</if>
<if test="name != null" >
name,
</if>
<if test="mission != null" >
mission,
</if>
<if test="pointa != null" >
pointa,
</if>
<if test="pointb != null" >
pointb,
</if>
<if test="t != null" >
t,
</if>
<if test="carno != null" >
carNo,
</if>
<if test="rules != null" >
rules,
</if>
<if test="statustype != null" >
statustype,
</if>
<if test="matcode != null" >
MatCode,
</if>
<if test="matname != null" >
MatName,
</if>
<if test="mattype != null" >
MatType,
</if>
<if test="boxnumber != null" >
BoxNumber,
</if>
<if test="boxrfid != null" >
BoxRFID,
</if>
<if test="digit != null" >
Digit,
</if>
<if test="result != null" >
Result,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=VARCHAR},
</if>
<if test="insdt != null" >
#{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
#{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
#{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
#{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
#{remark,jdbcType=VARCHAR},
</if>
<if test="name != null" >
#{name,jdbcType=VARCHAR},
</if>
<if test="mission != null" >
#{mission,jdbcType=VARCHAR},
</if>
<if test="pointa != null" >
#{pointa,jdbcType=VARCHAR},
</if>
<if test="pointb != null" >
#{pointb,jdbcType=VARCHAR},
</if>
<if test="t != null" >
#{t,jdbcType=TIMESTAMP},
</if>
<if test="carno != null" >
#{carno,jdbcType=VARCHAR},
</if>
<if test="rules != null" >
#{rules,jdbcType=VARCHAR},
</if>
<if test="statustype != null" >
#{statustype,jdbcType=VARCHAR},
</if>
<if test="matcode != null" >
#{matcode,jdbcType=VARCHAR},
</if>
<if test="matname != null" >
#{matname,jdbcType=VARCHAR},
</if>
<if test="mattype != null" >
#{mattype,jdbcType=VARCHAR},
</if>
<if test="boxnumber != null" >
#{boxnumber,jdbcType=VARCHAR},
</if>
<if test="boxrfid != null" >
#{boxrfid,jdbcType=VARCHAR},
</if>
<if test="digit != null" >
#{digit,jdbcType=VARCHAR},
</if>
<if test="result != null" >
#{result,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.sipai.entity.sfc.AGVdata" >
update tb_sfc_AGVdata
<set >
<if test="insdt != null" >
insdt = #{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
insuser = #{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
modifydt = #{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
modifier = #{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="name != null" >
name = #{name,jdbcType=VARCHAR},
</if>
<if test="mission != null" >
mission = #{mission,jdbcType=VARCHAR},
</if>
<if test="pointa != null" >
pointa = #{pointa,jdbcType=VARCHAR},
</if>
<if test="pointb != null" >
pointb = #{pointb,jdbcType=VARCHAR},
</if>
<if test="t != null" >
t = #{t,jdbcType=TIMESTAMP},
</if>
<if test="carno != null" >
carNo = #{carno,jdbcType=VARCHAR},
</if>
<if test="rules != null" >
rules = #{rules,jdbcType=VARCHAR},
</if>
<if test="statustype != null" >
statustype = #{statustype,jdbcType=VARCHAR},
</if>
<if test="matcode != null" >
MatCode = #{matcode,jdbcType=VARCHAR},
</if>
<if test="matname != null" >
MatName = #{matname,jdbcType=VARCHAR},
</if>
<if test="mattype != null" >
MatType = #{mattype,jdbcType=VARCHAR},
</if>
<if test="boxnumber != null" >
BoxNumber = #{boxnumber,jdbcType=VARCHAR},
</if>
<if test="boxrfid != null" >
BoxRFID = #{boxrfid,jdbcType=VARCHAR},
</if>
<if test="digit != null" >
Digit = #{digit,jdbcType=VARCHAR},
</if>
<if test="result != null" >
Result = #{result,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sipai.entity.sfc.AGVdata" >
update tb_sfc_AGVdata
set insdt = #{insdt,jdbcType=TIMESTAMP},
insuser = #{insuser,jdbcType=VARCHAR},
modifydt = #{modifydt,jdbcType=TIMESTAMP},
modifier = #{modifier,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
mission = #{mission,jdbcType=VARCHAR},
pointa = #{pointa,jdbcType=VARCHAR},
pointb = #{pointb,jdbcType=VARCHAR},
t = #{t,jdbcType=TIMESTAMP},
carNo = #{carno,jdbcType=VARCHAR},
rules = #{rules,jdbcType=VARCHAR},
statustype = #{statustype,jdbcType=VARCHAR},
MatCode = #{matcode,jdbcType=VARCHAR},
MatName = #{matname,jdbcType=VARCHAR},
MatType = #{mattype,jdbcType=VARCHAR},
BoxNumber = #{boxnumber,jdbcType=VARCHAR},
BoxRFID = #{boxrfid,jdbcType=VARCHAR},
Digit = #{digit,jdbcType=VARCHAR},
Result = #{result,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id="selectListByWhere" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_AGVdata
${where}
</select>
<delete id="deleteByWhere" parameterType="java.lang.String" >
delete from tb_sfc_AGVdata
${where}
</delete>
</mapper>

View File

@ -0,0 +1,163 @@
<?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="sfc.AlarmdataMapper" >
<resultMap id="BaseResultMap" type="com.sipai.entity.sfc.Alarmdata" >
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="insdt" property="insdt" jdbcType="TIMESTAMP" />
<result column="insuser" property="insuser" jdbcType="VARCHAR" />
<result column="modifydt" property="modifydt" jdbcType="VARCHAR" />
<result column="modifier" property="modifier" jdbcType="VARCHAR" />
<result column="remark" property="remark" jdbcType="VARCHAR" />
<result column="content" property="content" jdbcType="VARCHAR" />
<result column="alarmtype" property="alarmtype" jdbcType="VARCHAR" />
<result column="equipmentno" property="equipmentno" jdbcType="VARCHAR" />
<result column="alarmdate" property="alarmdate" jdbcType="TIMESTAMP" />
</resultMap>
<sql id="Base_Column_List" >
id, insdt, insuser, modifydt, modifier, remark, content, alarmtype, equipmentno,
alarmdate
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_alarmdata
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from tb_sfc_alarmdata
where id = #{id,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.sipai.entity.sfc.Alarmdata" >
insert into tb_sfc_alarmdata (id, insdt, insuser,
modifydt, modifier, remark,
content, alarmtype, equipmentno,
alarmdate)
values (#{id,jdbcType=VARCHAR}, #{insdt,jdbcType=TIMESTAMP}, #{insuser,jdbcType=VARCHAR},
#{modifydt,jdbcType=VARCHAR}, #{modifier,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{content,jdbcType=VARCHAR}, #{alarmtype,jdbcType=VARCHAR}, #{equipmentno,jdbcType=VARCHAR},
#{alarmdate,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.sipai.entity.sfc.Alarmdata" >
insert into tb_sfc_alarmdata
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="insdt != null" >
insdt,
</if>
<if test="insuser != null" >
insuser,
</if>
<if test="modifydt != null" >
modifydt,
</if>
<if test="modifier != null" >
modifier,
</if>
<if test="remark != null" >
remark,
</if>
<if test="content != null" >
content,
</if>
<if test="alarmtype != null" >
alarmtype,
</if>
<if test="equipmentno != null" >
equipmentno,
</if>
<if test="alarmdate != null" >
alarmdate,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=VARCHAR},
</if>
<if test="insdt != null" >
#{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
#{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
#{modifydt,jdbcType=VARCHAR},
</if>
<if test="modifier != null" >
#{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
#{remark,jdbcType=VARCHAR},
</if>
<if test="content != null" >
#{content,jdbcType=VARCHAR},
</if>
<if test="alarmtype != null" >
#{alarmtype,jdbcType=VARCHAR},
</if>
<if test="equipmentno != null" >
#{equipmentno,jdbcType=VARCHAR},
</if>
<if test="alarmdate != null" >
#{alarmdate,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.sipai.entity.sfc.Alarmdata" >
update tb_sfc_alarmdata
<set >
<if test="insdt != null" >
insdt = #{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
insuser = #{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
modifydt = #{modifydt,jdbcType=VARCHAR},
</if>
<if test="modifier != null" >
modifier = #{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="content != null" >
content = #{content,jdbcType=VARCHAR},
</if>
<if test="alarmtype != null" >
alarmtype = #{alarmtype,jdbcType=VARCHAR},
</if>
<if test="equipmentno != null" >
equipmentno = #{equipmentno,jdbcType=VARCHAR},
</if>
<if test="alarmdate != null" >
alarmdate = #{alarmdate,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sipai.entity.sfc.Alarmdata" >
update tb_sfc_alarmdata
set insdt = #{insdt,jdbcType=TIMESTAMP},
insuser = #{insuser,jdbcType=VARCHAR},
modifydt = #{modifydt,jdbcType=VARCHAR},
modifier = #{modifier,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
content = #{content,jdbcType=VARCHAR},
alarmtype = #{alarmtype,jdbcType=VARCHAR},
equipmentno = #{equipmentno,jdbcType=VARCHAR},
alarmdate = #{alarmdate,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id="selectListByWhere" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_alarmdata
${where}
</select>
<delete id="deleteByWhere" parameterType="java.lang.String" >
delete from tb_sfc_alarmdata
${where}
</delete>
</mapper>

View File

@ -0,0 +1,522 @@
<?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="sfc.AoidataMapper" >
<resultMap id="BaseResultMap" type="com.sipai.entity.sfc.Aoidata" >
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="insdt" property="insdt" jdbcType="TIMESTAMP" />
<result column="insuser" property="insuser" jdbcType="VARCHAR" />
<result column="modifydt" property="modifydt" jdbcType="TIMESTAMP" />
<result column="modifier" property="modifier" jdbcType="VARCHAR" />
<result column="remark" property="remark" jdbcType="VARCHAR" />
<result column="productiondatestart" property="productiondatestart" jdbcType="TIMESTAMP" />
<result column="productiondateend" property="productiondateend" jdbcType="TIMESTAMP" />
<result column="equipmentno" property="equipmentno" jdbcType="VARCHAR" />
<result column="operator" property="operator" jdbcType="VARCHAR" />
<result column="process" property="process" jdbcType="VARCHAR" />
<result column="no" property="no" jdbcType="VARCHAR" />
<result column="input" property="input" jdbcType="INTEGER" />
<result column="output" property="output" jdbcType="INTEGER" />
<result column="pdgoodrate" property="pdgoodrate" jdbcType="DOUBLE" />
<result column="twotimerate" property="twotimerate" jdbcType="DOUBLE" />
<result column="ngrate" property="ngrate" jdbcType="DOUBLE" />
<result column="abnormalfrq" property="abnormalfrq" jdbcType="DOUBLE" />
<result column="silkprintgap" property="silkprintgap" jdbcType="INTEGER" />
<result column="silkprintsawtooth" property="silkprintsawtooth" jdbcType="INTEGER" />
<result column="silkprinttransparent" property="silkprinttransparent" jdbcType="INTEGER" />
<result column="silkprintoilleak" property="silkprintoilleak" jdbcType="INTEGER" />
<result column="silkprintedgegap" property="silkprintedgegap" jdbcType="INTEGER" />
<result column="silkprintedgesawtooth" property="silkprintedgesawtooth" jdbcType="INTEGER" />
<result column="silkprintedgetransparent" property="silkprintedgetransparent" jdbcType="INTEGER" />
<result column="silkprintedgedeflection" property="silkprintedgedeflection" jdbcType="INTEGER" />
<result column="logogap" property="logogap" jdbcType="INTEGER" />
<result column="logotransparent" property="logotransparent" jdbcType="INTEGER" />
<result column="logooilleak" property="logooilleak" jdbcType="INTEGER" />
<result column="buttongap" property="buttongap" jdbcType="INTEGER" />
<result column="buttontransparent" property="buttontransparent" jdbcType="INTEGER" />
<result column="buttonoilleak" property="buttonoilleak" jdbcType="INTEGER" />
<result column="transparentholegap" property="transparentholegap" jdbcType="INTEGER" />
<result column="transparentholetransp" property="transparentholetransp" jdbcType="INTEGER" />
<result column="transparentholeoilleak" property="transparentholeoilleak" jdbcType="INTEGER" />
<result column="halftransparentholegap" property="halftransparentholegap" jdbcType="INTEGER" />
<result column="halftransparentholetransp" property="halftransparentholetransp" jdbcType="INTEGER" />
<result column="halftransparentholeoilleak" property="halftransparentholeoilleak" jdbcType="INTEGER" />
<result column="holegap" property="holegap" jdbcType="INTEGER" />
<result column="holetransp" property="holetransp" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
id, insdt, insuser, modifydt, modifier, remark, productiondatestart, productiondateend,
equipmentno, operator, process, no, input, output, pdgoodrate, twotimerate, ngrate,
abnormalfrq, silkprintgap, silkprintsawtooth, silkprinttransparent, silkprintoilleak,
silkprintedgegap, silkprintedgesawtooth, silkprintedgetransparent, silkprintedgedeflection,
logogap, logotransparent, logooilleak, buttongap, buttontransparent, buttonoilleak,
transparentholegap, transparentholetransp, transparentholeoilleak, halftransparentholegap,
halftransparentholetransp, halftransparentholeoilleak, holegap, holetransp
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_aoidata
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from tb_sfc_aoidata
where id = #{id,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.sipai.entity.sfc.Aoidata" >
insert into tb_sfc_aoidata (id, insdt, insuser,
modifydt, modifier, remark,
productiondatestart, productiondateend,
equipmentno, operator, process,
no, input, output,
pdgoodrate, twotimerate, ngrate,
abnormalfrq, silkprintgap, silkprintsawtooth,
silkprinttransparent, silkprintoilleak,
silkprintedgegap, silkprintedgesawtooth,
silkprintedgetransparent, silkprintedgedeflection,
logogap, logotransparent, logooilleak,
buttongap, buttontransparent, buttonoilleak,
transparentholegap, transparentholetransp,
transparentholeoilleak, halftransparentholegap,
halftransparentholetransp, halftransparentholeoilleak,
holegap, holetransp)
values (#{id,jdbcType=VARCHAR}, #{insdt,jdbcType=TIMESTAMP}, #{insuser,jdbcType=VARCHAR},
#{modifydt,jdbcType=TIMESTAMP}, #{modifier,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{productiondatestart,jdbcType=TIMESTAMP}, #{productiondateend,jdbcType=TIMESTAMP},
#{equipmentno,jdbcType=VARCHAR}, #{operator,jdbcType=VARCHAR}, #{process,jdbcType=VARCHAR},
#{no,jdbcType=VARCHAR}, #{input,jdbcType=INTEGER}, #{output,jdbcType=INTEGER},
#{pdgoodrate,jdbcType=DOUBLE}, #{twotimerate,jdbcType=DOUBLE}, #{ngrate,jdbcType=DOUBLE},
#{abnormalfrq,jdbcType=DOUBLE}, #{silkprintgap,jdbcType=INTEGER}, #{silkprintsawtooth,jdbcType=INTEGER},
#{silkprinttransparent,jdbcType=INTEGER}, #{silkprintoilleak,jdbcType=INTEGER},
#{silkprintedgegap,jdbcType=INTEGER}, #{silkprintedgesawtooth,jdbcType=INTEGER},
#{silkprintedgetransparent,jdbcType=INTEGER}, #{silkprintedgedeflection,jdbcType=INTEGER},
#{logogap,jdbcType=INTEGER}, #{logotransparent,jdbcType=INTEGER}, #{logooilleak,jdbcType=INTEGER},
#{buttongap,jdbcType=INTEGER}, #{buttontransparent,jdbcType=INTEGER}, #{buttonoilleak,jdbcType=INTEGER},
#{transparentholegap,jdbcType=INTEGER}, #{transparentholetransp,jdbcType=INTEGER},
#{transparentholeoilleak,jdbcType=INTEGER}, #{halftransparentholegap,jdbcType=INTEGER},
#{halftransparentholetransp,jdbcType=INTEGER}, #{halftransparentholeoilleak,jdbcType=INTEGER},
#{holegap,jdbcType=INTEGER}, #{holetransp,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.sipai.entity.sfc.Aoidata" >
insert into tb_sfc_aoidata
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="insdt != null" >
insdt,
</if>
<if test="insuser != null" >
insuser,
</if>
<if test="modifydt != null" >
modifydt,
</if>
<if test="modifier != null" >
modifier,
</if>
<if test="remark != null" >
remark,
</if>
<if test="productiondatestart != null" >
productiondatestart,
</if>
<if test="productiondateend != null" >
productiondateend,
</if>
<if test="equipmentno != null" >
equipmentno,
</if>
<if test="operator != null" >
operator,
</if>
<if test="process != null" >
process,
</if>
<if test="no != null" >
no,
</if>
<if test="input != null" >
input,
</if>
<if test="output != null" >
output,
</if>
<if test="pdgoodrate != null" >
pdgoodrate,
</if>
<if test="twotimerate != null" >
twotimerate,
</if>
<if test="ngrate != null" >
ngrate,
</if>
<if test="abnormalfrq != null" >
abnormalfrq,
</if>
<if test="silkprintgap != null" >
silkprintgap,
</if>
<if test="silkprintsawtooth != null" >
silkprintsawtooth,
</if>
<if test="silkprinttransparent != null" >
silkprinttransparent,
</if>
<if test="silkprintoilleak != null" >
silkprintoilleak,
</if>
<if test="silkprintedgegap != null" >
silkprintedgegap,
</if>
<if test="silkprintedgesawtooth != null" >
silkprintedgesawtooth,
</if>
<if test="silkprintedgetransparent != null" >
silkprintedgetransparent,
</if>
<if test="silkprintedgedeflection != null" >
silkprintedgedeflection,
</if>
<if test="logogap != null" >
logogap,
</if>
<if test="logotransparent != null" >
logotransparent,
</if>
<if test="logooilleak != null" >
logooilleak,
</if>
<if test="buttongap != null" >
buttongap,
</if>
<if test="buttontransparent != null" >
buttontransparent,
</if>
<if test="buttonoilleak != null" >
buttonoilleak,
</if>
<if test="transparentholegap != null" >
transparentholegap,
</if>
<if test="transparentholetransp != null" >
transparentholetransp,
</if>
<if test="transparentholeoilleak != null" >
transparentholeoilleak,
</if>
<if test="halftransparentholegap != null" >
halftransparentholegap,
</if>
<if test="halftransparentholetransp != null" >
halftransparentholetransp,
</if>
<if test="halftransparentholeoilleak != null" >
halftransparentholeoilleak,
</if>
<if test="holegap != null" >
holegap,
</if>
<if test="holetransp != null" >
holetransp,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=VARCHAR},
</if>
<if test="insdt != null" >
#{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
#{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
#{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
#{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
#{remark,jdbcType=VARCHAR},
</if>
<if test="productiondatestart != null" >
#{productiondatestart,jdbcType=TIMESTAMP},
</if>
<if test="productiondateend != null" >
#{productiondateend,jdbcType=TIMESTAMP},
</if>
<if test="equipmentno != null" >
#{equipmentno,jdbcType=VARCHAR},
</if>
<if test="operator != null" >
#{operator,jdbcType=VARCHAR},
</if>
<if test="process != null" >
#{process,jdbcType=VARCHAR},
</if>
<if test="no != null" >
#{no,jdbcType=VARCHAR},
</if>
<if test="input != null" >
#{input,jdbcType=INTEGER},
</if>
<if test="output != null" >
#{output,jdbcType=INTEGER},
</if>
<if test="pdgoodrate != null" >
#{pdgoodrate,jdbcType=DOUBLE},
</if>
<if test="twotimerate != null" >
#{twotimerate,jdbcType=DOUBLE},
</if>
<if test="ngrate != null" >
#{ngrate,jdbcType=DOUBLE},
</if>
<if test="abnormalfrq != null" >
#{abnormalfrq,jdbcType=DOUBLE},
</if>
<if test="silkprintgap != null" >
#{silkprintgap,jdbcType=INTEGER},
</if>
<if test="silkprintsawtooth != null" >
#{silkprintsawtooth,jdbcType=INTEGER},
</if>
<if test="silkprinttransparent != null" >
#{silkprinttransparent,jdbcType=INTEGER},
</if>
<if test="silkprintoilleak != null" >
#{silkprintoilleak,jdbcType=INTEGER},
</if>
<if test="silkprintedgegap != null" >
#{silkprintedgegap,jdbcType=INTEGER},
</if>
<if test="silkprintedgesawtooth != null" >
#{silkprintedgesawtooth,jdbcType=INTEGER},
</if>
<if test="silkprintedgetransparent != null" >
#{silkprintedgetransparent,jdbcType=INTEGER},
</if>
<if test="silkprintedgedeflection != null" >
#{silkprintedgedeflection,jdbcType=INTEGER},
</if>
<if test="logogap != null" >
#{logogap,jdbcType=INTEGER},
</if>
<if test="logotransparent != null" >
#{logotransparent,jdbcType=INTEGER},
</if>
<if test="logooilleak != null" >
#{logooilleak,jdbcType=INTEGER},
</if>
<if test="buttongap != null" >
#{buttongap,jdbcType=INTEGER},
</if>
<if test="buttontransparent != null" >
#{buttontransparent,jdbcType=INTEGER},
</if>
<if test="buttonoilleak != null" >
#{buttonoilleak,jdbcType=INTEGER},
</if>
<if test="transparentholegap != null" >
#{transparentholegap,jdbcType=INTEGER},
</if>
<if test="transparentholetransp != null" >
#{transparentholetransp,jdbcType=INTEGER},
</if>
<if test="transparentholeoilleak != null" >
#{transparentholeoilleak,jdbcType=INTEGER},
</if>
<if test="halftransparentholegap != null" >
#{halftransparentholegap,jdbcType=INTEGER},
</if>
<if test="halftransparentholetransp != null" >
#{halftransparentholetransp,jdbcType=INTEGER},
</if>
<if test="halftransparentholeoilleak != null" >
#{halftransparentholeoilleak,jdbcType=INTEGER},
</if>
<if test="holegap != null" >
#{holegap,jdbcType=INTEGER},
</if>
<if test="holetransp != null" >
#{holetransp,jdbcType=INTEGER},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.sipai.entity.sfc.Aoidata" >
update tb_sfc_aoidata
<set >
<if test="insdt != null" >
insdt = #{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
insuser = #{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
modifydt = #{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
modifier = #{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="productiondatestart != null" >
productiondatestart = #{productiondatestart,jdbcType=TIMESTAMP},
</if>
<if test="productiondateend != null" >
productiondateend = #{productiondateend,jdbcType=TIMESTAMP},
</if>
<if test="equipmentno != null" >
equipmentno = #{equipmentno,jdbcType=VARCHAR},
</if>
<if test="operator != null" >
operator = #{operator,jdbcType=VARCHAR},
</if>
<if test="process != null" >
process = #{process,jdbcType=VARCHAR},
</if>
<if test="no != null" >
no = #{no,jdbcType=VARCHAR},
</if>
<if test="input != null" >
input = #{input,jdbcType=INTEGER},
</if>
<if test="output != null" >
output = #{output,jdbcType=INTEGER},
</if>
<if test="pdgoodrate != null" >
pdgoodrate = #{pdgoodrate,jdbcType=DOUBLE},
</if>
<if test="twotimerate != null" >
twotimerate = #{twotimerate,jdbcType=DOUBLE},
</if>
<if test="ngrate != null" >
ngrate = #{ngrate,jdbcType=DOUBLE},
</if>
<if test="abnormalfrq != null" >
abnormalfrq = #{abnormalfrq,jdbcType=DOUBLE},
</if>
<if test="silkprintgap != null" >
silkprintgap = #{silkprintgap,jdbcType=INTEGER},
</if>
<if test="silkprintsawtooth != null" >
silkprintsawtooth = #{silkprintsawtooth,jdbcType=INTEGER},
</if>
<if test="silkprinttransparent != null" >
silkprinttransparent = #{silkprinttransparent,jdbcType=INTEGER},
</if>
<if test="silkprintoilleak != null" >
silkprintoilleak = #{silkprintoilleak,jdbcType=INTEGER},
</if>
<if test="silkprintedgegap != null" >
silkprintedgegap = #{silkprintedgegap,jdbcType=INTEGER},
</if>
<if test="silkprintedgesawtooth != null" >
silkprintedgesawtooth = #{silkprintedgesawtooth,jdbcType=INTEGER},
</if>
<if test="silkprintedgetransparent != null" >
silkprintedgetransparent = #{silkprintedgetransparent,jdbcType=INTEGER},
</if>
<if test="silkprintedgedeflection != null" >
silkprintedgedeflection = #{silkprintedgedeflection,jdbcType=INTEGER},
</if>
<if test="logogap != null" >
logogap = #{logogap,jdbcType=INTEGER},
</if>
<if test="logotransparent != null" >
logotransparent = #{logotransparent,jdbcType=INTEGER},
</if>
<if test="logooilleak != null" >
logooilleak = #{logooilleak,jdbcType=INTEGER},
</if>
<if test="buttongap != null" >
buttongap = #{buttongap,jdbcType=INTEGER},
</if>
<if test="buttontransparent != null" >
buttontransparent = #{buttontransparent,jdbcType=INTEGER},
</if>
<if test="buttonoilleak != null" >
buttonoilleak = #{buttonoilleak,jdbcType=INTEGER},
</if>
<if test="transparentholegap != null" >
transparentholegap = #{transparentholegap,jdbcType=INTEGER},
</if>
<if test="transparentholetransp != null" >
transparentholetransp = #{transparentholetransp,jdbcType=INTEGER},
</if>
<if test="transparentholeoilleak != null" >
transparentholeoilleak = #{transparentholeoilleak,jdbcType=INTEGER},
</if>
<if test="halftransparentholegap != null" >
halftransparentholegap = #{halftransparentholegap,jdbcType=INTEGER},
</if>
<if test="halftransparentholetransp != null" >
halftransparentholetransp = #{halftransparentholetransp,jdbcType=INTEGER},
</if>
<if test="halftransparentholeoilleak != null" >
halftransparentholeoilleak = #{halftransparentholeoilleak,jdbcType=INTEGER},
</if>
<if test="holegap != null" >
holegap = #{holegap,jdbcType=INTEGER},
</if>
<if test="holetransp != null" >
holetransp = #{holetransp,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sipai.entity.sfc.Aoidata" >
update tb_sfc_aoidata
set insdt = #{insdt,jdbcType=TIMESTAMP},
insuser = #{insuser,jdbcType=VARCHAR},
modifydt = #{modifydt,jdbcType=TIMESTAMP},
modifier = #{modifier,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
productiondatestart = #{productiondatestart,jdbcType=TIMESTAMP},
productiondateend = #{productiondateend,jdbcType=TIMESTAMP},
equipmentno = #{equipmentno,jdbcType=VARCHAR},
operator = #{operator,jdbcType=VARCHAR},
process = #{process,jdbcType=VARCHAR},
no = #{no,jdbcType=VARCHAR},
input = #{input,jdbcType=INTEGER},
output = #{output,jdbcType=INTEGER},
pdgoodrate = #{pdgoodrate,jdbcType=DOUBLE},
twotimerate = #{twotimerate,jdbcType=DOUBLE},
ngrate = #{ngrate,jdbcType=DOUBLE},
abnormalfrq = #{abnormalfrq,jdbcType=DOUBLE},
silkprintgap = #{silkprintgap,jdbcType=INTEGER},
silkprintsawtooth = #{silkprintsawtooth,jdbcType=INTEGER},
silkprinttransparent = #{silkprinttransparent,jdbcType=INTEGER},
silkprintoilleak = #{silkprintoilleak,jdbcType=INTEGER},
silkprintedgegap = #{silkprintedgegap,jdbcType=INTEGER},
silkprintedgesawtooth = #{silkprintedgesawtooth,jdbcType=INTEGER},
silkprintedgetransparent = #{silkprintedgetransparent,jdbcType=INTEGER},
silkprintedgedeflection = #{silkprintedgedeflection,jdbcType=INTEGER},
logogap = #{logogap,jdbcType=INTEGER},
logotransparent = #{logotransparent,jdbcType=INTEGER},
logooilleak = #{logooilleak,jdbcType=INTEGER},
buttongap = #{buttongap,jdbcType=INTEGER},
buttontransparent = #{buttontransparent,jdbcType=INTEGER},
buttonoilleak = #{buttonoilleak,jdbcType=INTEGER},
transparentholegap = #{transparentholegap,jdbcType=INTEGER},
transparentholetransp = #{transparentholetransp,jdbcType=INTEGER},
transparentholeoilleak = #{transparentholeoilleak,jdbcType=INTEGER},
halftransparentholegap = #{halftransparentholegap,jdbcType=INTEGER},
halftransparentholetransp = #{halftransparentholetransp,jdbcType=INTEGER},
halftransparentholeoilleak = #{halftransparentholeoilleak,jdbcType=INTEGER},
holegap = #{holegap,jdbcType=INTEGER},
holetransp = #{holetransp,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id="selectListByWhere" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_aoidata
${where}
</select>
<delete id="deleteByWhere" parameterType="java.lang.String" >
delete from tb_sfc_aoidata
${where}
</delete>
</mapper>

View File

@ -0,0 +1,279 @@
<?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="sfc.RFIDdataMapper" >
<resultMap id="BaseResultMap" type="com.sipai.entity.sfc.RFIDdata" >
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="insdt" property="insdt" jdbcType="TIMESTAMP" />
<result column="insuser" property="insuser" jdbcType="VARCHAR" />
<result column="modifydt" property="modifydt" jdbcType="TIMESTAMP" />
<result column="modifier" property="modifier" jdbcType="VARCHAR" />
<result column="remark" property="remark" jdbcType="VARCHAR" />
<result column="epc" property="epc" jdbcType="VARCHAR" />
<result column="order_no" property="orderNo" jdbcType="VARCHAR" />
<result column="part_no" property="partNo" jdbcType="VARCHAR" />
<result column="pro_no" property="proNo" jdbcType="VARCHAR" />
<result column="ws_no" property="wsNo" jdbcType="VARCHAR" />
<result column="qty" property="qty" jdbcType="VARCHAR" />
<result column="rw_date" property="rwDate" jdbcType="TIMESTAMP" />
<result column="dev_no" property="devNo" jdbcType="VARCHAR" />
<result column="count_type" property="countType" jdbcType="VARCHAR" />
<result column="data_type" property="dataType" jdbcType="VARCHAR" />
<result column="parent_epcs" property="parentEpcs" jdbcType="VARCHAR" />
<result column="source_type" property="sourceType" jdbcType="VARCHAR" />
<result column="lot_no" property="lotNo" jdbcType="VARCHAR" />
<result column="Result" property="result" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
id, insdt, insuser, modifydt, modifier, remark, epc, order_no, part_no, pro_no, ws_no,
qty, rw_date, dev_no, count_type, data_type, parent_epcs, source_type, lot_no, Result
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_RFIDdata
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from tb_sfc_RFIDdata
where id = #{id,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.sipai.entity.sfc.RFIDdata" >
insert into tb_sfc_RFIDdata (id, insdt, insuser,
modifydt, modifier, remark,
epc, order_no, part_no,
pro_no, ws_no, qty, rw_date,
dev_no, count_type, data_type,
parent_epcs, source_type, lot_no,
Result)
values (#{id,jdbcType=VARCHAR}, #{insdt,jdbcType=TIMESTAMP}, #{insuser,jdbcType=VARCHAR},
#{modifydt,jdbcType=TIMESTAMP}, #{modifier,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{epc,jdbcType=VARCHAR}, #{orderNo,jdbcType=VARCHAR}, #{partNo,jdbcType=VARCHAR},
#{proNo,jdbcType=VARCHAR}, #{wsNo,jdbcType=VARCHAR}, #{qty,jdbcType=VARCHAR}, #{rwDate,jdbcType=TIMESTAMP},
#{devNo,jdbcType=VARCHAR}, #{countType,jdbcType=VARCHAR}, #{dataType,jdbcType=VARCHAR},
#{parentEpcs,jdbcType=VARCHAR}, #{sourceType,jdbcType=VARCHAR}, #{lotNo,jdbcType=VARCHAR},
#{result,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sipai.entity.sfc.RFIDdata" >
insert into tb_sfc_RFIDdata
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="insdt != null" >
insdt,
</if>
<if test="insuser != null" >
insuser,
</if>
<if test="modifydt != null" >
modifydt,
</if>
<if test="modifier != null" >
modifier,
</if>
<if test="remark != null" >
remark,
</if>
<if test="epc != null" >
epc,
</if>
<if test="orderNo != null" >
order_no,
</if>
<if test="partNo != null" >
part_no,
</if>
<if test="proNo != null" >
pro_no,
</if>
<if test="wsNo != null" >
ws_no,
</if>
<if test="qty != null" >
qty,
</if>
<if test="rwDate != null" >
rw_date,
</if>
<if test="devNo != null" >
dev_no,
</if>
<if test="countType != null" >
count_type,
</if>
<if test="dataType != null" >
data_type,
</if>
<if test="parentEpcs != null" >
parent_epcs,
</if>
<if test="sourceType != null" >
source_type,
</if>
<if test="lotNo != null" >
lot_no,
</if>
<if test="result != null" >
Result,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=VARCHAR},
</if>
<if test="insdt != null" >
#{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
#{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
#{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
#{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
#{remark,jdbcType=VARCHAR},
</if>
<if test="epc != null" >
#{epc,jdbcType=VARCHAR},
</if>
<if test="orderNo != null" >
#{orderNo,jdbcType=VARCHAR},
</if>
<if test="partNo != null" >
#{partNo,jdbcType=VARCHAR},
</if>
<if test="proNo != null" >
#{proNo,jdbcType=VARCHAR},
</if>
<if test="wsNo != null" >
#{wsNo,jdbcType=VARCHAR},
</if>
<if test="qty != null" >
#{qty,jdbcType=VARCHAR},
</if>
<if test="rwDate != null" >
#{rwDate,jdbcType=TIMESTAMP},
</if>
<if test="devNo != null" >
#{devNo,jdbcType=VARCHAR},
</if>
<if test="countType != null" >
#{countType,jdbcType=VARCHAR},
</if>
<if test="dataType != null" >
#{dataType,jdbcType=VARCHAR},
</if>
<if test="parentEpcs != null" >
#{parentEpcs,jdbcType=VARCHAR},
</if>
<if test="sourceType != null" >
#{sourceType,jdbcType=VARCHAR},
</if>
<if test="lotNo != null" >
#{lotNo,jdbcType=VARCHAR},
</if>
<if test="result != null" >
#{result,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.sipai.entity.sfc.RFIDdata" >
update tb_sfc_RFIDdata
<set >
<if test="insdt != null" >
insdt = #{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
insuser = #{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
modifydt = #{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
modifier = #{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="epc != null" >
epc = #{epc,jdbcType=VARCHAR},
</if>
<if test="orderNo != null" >
order_no = #{orderNo,jdbcType=VARCHAR},
</if>
<if test="partNo != null" >
part_no = #{partNo,jdbcType=VARCHAR},
</if>
<if test="proNo != null" >
pro_no = #{proNo,jdbcType=VARCHAR},
</if>
<if test="wsNo != null" >
ws_no = #{wsNo,jdbcType=VARCHAR},
</if>
<if test="qty != null" >
qty = #{qty,jdbcType=VARCHAR},
</if>
<if test="rwDate != null" >
rw_date = #{rwDate,jdbcType=TIMESTAMP},
</if>
<if test="devNo != null" >
dev_no = #{devNo,jdbcType=VARCHAR},
</if>
<if test="countType != null" >
count_type = #{countType,jdbcType=VARCHAR},
</if>
<if test="dataType != null" >
data_type = #{dataType,jdbcType=VARCHAR},
</if>
<if test="parentEpcs != null" >
parent_epcs = #{parentEpcs,jdbcType=VARCHAR},
</if>
<if test="sourceType != null" >
source_type = #{sourceType,jdbcType=VARCHAR},
</if>
<if test="lotNo != null" >
lot_no = #{lotNo,jdbcType=VARCHAR},
</if>
<if test="result != null" >
Result = #{result,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sipai.entity.sfc.RFIDdata" >
update tb_sfc_RFIDdata
set insdt = #{insdt,jdbcType=TIMESTAMP},
insuser = #{insuser,jdbcType=VARCHAR},
modifydt = #{modifydt,jdbcType=TIMESTAMP},
modifier = #{modifier,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
epc = #{epc,jdbcType=VARCHAR},
order_no = #{orderNo,jdbcType=VARCHAR},
part_no = #{partNo,jdbcType=VARCHAR},
pro_no = #{proNo,jdbcType=VARCHAR},
ws_no = #{wsNo,jdbcType=VARCHAR},
qty = #{qty,jdbcType=VARCHAR},
rw_date = #{rwDate,jdbcType=TIMESTAMP},
dev_no = #{devNo,jdbcType=VARCHAR},
count_type = #{countType,jdbcType=VARCHAR},
data_type = #{dataType,jdbcType=VARCHAR},
parent_epcs = #{parentEpcs,jdbcType=VARCHAR},
source_type = #{sourceType,jdbcType=VARCHAR},
lot_no = #{lotNo,jdbcType=VARCHAR},
Result = #{result,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id="selectListByWhere" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_RFIDdata
${where}
</select>
<delete id="deleteByWhere" parameterType="java.lang.String" >
delete from tb_sfc_RFIDdata
${where}
</delete>
</mapper>

View File

@ -0,0 +1,304 @@
<?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="sfc.WarehousedataMapper" >
<resultMap id="BaseResultMap" type="com.sipai.entity.sfc.Warehousedata" >
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="insdt" property="insdt" jdbcType="TIMESTAMP" />
<result column="insuser" property="insuser" jdbcType="VARCHAR" />
<result column="modifydt" property="modifydt" jdbcType="TIMESTAMP" />
<result column="modifier" property="modifier" jdbcType="VARCHAR" />
<result column="remark" property="remark" jdbcType="VARCHAR" />
<result column="name" property="name" jdbcType="VARCHAR" />
<result column="mission" property="mission" jdbcType="VARCHAR" />
<result column="InSourceDocCode" property="insourcedoccode" jdbcType="VARCHAR" />
<result column="MatCode" property="matcode" jdbcType="VARCHAR" />
<result column="MatName" property="matname" jdbcType="VARCHAR" />
<result column="MatType" property="mattype" jdbcType="VARCHAR" />
<result column="BoxNumber" property="boxnumber" jdbcType="VARCHAR" />
<result column="BoxRFID" property="boxrfid" jdbcType="VARCHAR" />
<result column="MatRFID" property="matrfid" jdbcType="VARCHAR" />
<result column="Digit" property="digit" jdbcType="VARCHAR" />
<result column="Wharf" property="wharf" jdbcType="VARCHAR" />
<result column="PositionCode" property="positioncode" jdbcType="VARCHAR" />
<result column="BufferPosiCode" property="bufferposicode" jdbcType="VARCHAR" />
<result column="OutSourceDocCode" property="outsourcedoccode" jdbcType="VARCHAR" />
<result column="Type" property="type" jdbcType="VARCHAR" />
<result column="Result" property="result" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
id, insdt, insuser, modifydt, modifier, remark, name, mission, InSourceDocCode, MatCode,
MatName, MatType, BoxNumber, BoxRFID, MatRFID, Digit, Wharf, PositionCode, BufferPosiCode,
OutSourceDocCode, Type, Result
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_warehousedata
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from tb_sfc_warehousedata
where id = #{id,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.sipai.entity.sfc.Warehousedata" >
insert into tb_sfc_warehousedata (id, insdt, insuser,
modifydt, modifier, remark,
name, mission, InSourceDocCode,
MatCode, MatName, MatType,
BoxNumber, BoxRFID, MatRFID,
Digit, Wharf, PositionCode,
BufferPosiCode, OutSourceDocCode, Type,
Result)
values (#{id,jdbcType=VARCHAR}, #{insdt,jdbcType=TIMESTAMP}, #{insuser,jdbcType=VARCHAR},
#{modifydt,jdbcType=TIMESTAMP}, #{modifier,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR}, #{mission,jdbcType=VARCHAR}, #{insourcedoccode,jdbcType=VARCHAR},
#{matcode,jdbcType=VARCHAR}, #{matname,jdbcType=VARCHAR}, #{mattype,jdbcType=VARCHAR},
#{boxnumber,jdbcType=VARCHAR}, #{boxrfid,jdbcType=VARCHAR}, #{matrfid,jdbcType=VARCHAR},
#{digit,jdbcType=VARCHAR}, #{wharf,jdbcType=VARCHAR}, #{positioncode,jdbcType=VARCHAR},
#{bufferposicode,jdbcType=VARCHAR}, #{outsourcedoccode,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
#{result,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sipai.entity.sfc.Warehousedata" >
insert into tb_sfc_warehousedata
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="insdt != null" >
insdt,
</if>
<if test="insuser != null" >
insuser,
</if>
<if test="modifydt != null" >
modifydt,
</if>
<if test="modifier != null" >
modifier,
</if>
<if test="remark != null" >
remark,
</if>
<if test="name != null" >
name,
</if>
<if test="mission != null" >
mission,
</if>
<if test="insourcedoccode != null" >
InSourceDocCode,
</if>
<if test="matcode != null" >
MatCode,
</if>
<if test="matname != null" >
MatName,
</if>
<if test="mattype != null" >
MatType,
</if>
<if test="boxnumber != null" >
BoxNumber,
</if>
<if test="boxrfid != null" >
BoxRFID,
</if>
<if test="matrfid != null" >
MatRFID,
</if>
<if test="digit != null" >
Digit,
</if>
<if test="wharf != null" >
Wharf,
</if>
<if test="positioncode != null" >
PositionCode,
</if>
<if test="bufferposicode != null" >
BufferPosiCode,
</if>
<if test="outsourcedoccode != null" >
OutSourceDocCode,
</if>
<if test="type != null" >
Type,
</if>
<if test="result != null" >
Result,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=VARCHAR},
</if>
<if test="insdt != null" >
#{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
#{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
#{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
#{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
#{remark,jdbcType=VARCHAR},
</if>
<if test="name != null" >
#{name,jdbcType=VARCHAR},
</if>
<if test="mission != null" >
#{mission,jdbcType=VARCHAR},
</if>
<if test="insourcedoccode != null" >
#{insourcedoccode,jdbcType=VARCHAR},
</if>
<if test="matcode != null" >
#{matcode,jdbcType=VARCHAR},
</if>
<if test="matname != null" >
#{matname,jdbcType=VARCHAR},
</if>
<if test="mattype != null" >
#{mattype,jdbcType=VARCHAR},
</if>
<if test="boxnumber != null" >
#{boxnumber,jdbcType=VARCHAR},
</if>
<if test="boxrfid != null" >
#{boxrfid,jdbcType=VARCHAR},
</if>
<if test="matrfid != null" >
#{matrfid,jdbcType=VARCHAR},
</if>
<if test="digit != null" >
#{digit,jdbcType=VARCHAR},
</if>
<if test="wharf != null" >
#{wharf,jdbcType=VARCHAR},
</if>
<if test="positioncode != null" >
#{positioncode,jdbcType=VARCHAR},
</if>
<if test="bufferposicode != null" >
#{bufferposicode,jdbcType=VARCHAR},
</if>
<if test="outsourcedoccode != null" >
#{outsourcedoccode,jdbcType=VARCHAR},
</if>
<if test="type != null" >
#{type,jdbcType=VARCHAR},
</if>
<if test="result != null" >
#{result,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.sipai.entity.sfc.Warehousedata" >
update tb_sfc_warehousedata
<set >
<if test="insdt != null" >
insdt = #{insdt,jdbcType=TIMESTAMP},
</if>
<if test="insuser != null" >
insuser = #{insuser,jdbcType=VARCHAR},
</if>
<if test="modifydt != null" >
modifydt = #{modifydt,jdbcType=TIMESTAMP},
</if>
<if test="modifier != null" >
modifier = #{modifier,jdbcType=VARCHAR},
</if>
<if test="remark != null" >
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="name != null" >
name = #{name,jdbcType=VARCHAR},
</if>
<if test="mission != null" >
mission = #{mission,jdbcType=VARCHAR},
</if>
<if test="insourcedoccode != null" >
InSourceDocCode = #{insourcedoccode,jdbcType=VARCHAR},
</if>
<if test="matcode != null" >
MatCode = #{matcode,jdbcType=VARCHAR},
</if>
<if test="matname != null" >
MatName = #{matname,jdbcType=VARCHAR},
</if>
<if test="mattype != null" >
MatType = #{mattype,jdbcType=VARCHAR},
</if>
<if test="boxnumber != null" >
BoxNumber = #{boxnumber,jdbcType=VARCHAR},
</if>
<if test="boxrfid != null" >
BoxRFID = #{boxrfid,jdbcType=VARCHAR},
</if>
<if test="matrfid != null" >
MatRFID = #{matrfid,jdbcType=VARCHAR},
</if>
<if test="digit != null" >
Digit = #{digit,jdbcType=VARCHAR},
</if>
<if test="wharf != null" >
Wharf = #{wharf,jdbcType=VARCHAR},
</if>
<if test="positioncode != null" >
PositionCode = #{positioncode,jdbcType=VARCHAR},
</if>
<if test="bufferposicode != null" >
BufferPosiCode = #{bufferposicode,jdbcType=VARCHAR},
</if>
<if test="outsourcedoccode != null" >
OutSourceDocCode = #{outsourcedoccode,jdbcType=VARCHAR},
</if>
<if test="type != null" >
Type = #{type,jdbcType=VARCHAR},
</if>
<if test="result != null" >
Result = #{result,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sipai.entity.sfc.Warehousedata" >
update tb_sfc_warehousedata
set insdt = #{insdt,jdbcType=TIMESTAMP},
insuser = #{insuser,jdbcType=VARCHAR},
modifydt = #{modifydt,jdbcType=TIMESTAMP},
modifier = #{modifier,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
mission = #{mission,jdbcType=VARCHAR},
InSourceDocCode = #{insourcedoccode,jdbcType=VARCHAR},
MatCode = #{matcode,jdbcType=VARCHAR},
MatName = #{matname,jdbcType=VARCHAR},
MatType = #{mattype,jdbcType=VARCHAR},
BoxNumber = #{boxnumber,jdbcType=VARCHAR},
BoxRFID = #{boxrfid,jdbcType=VARCHAR},
MatRFID = #{matrfid,jdbcType=VARCHAR},
Digit = #{digit,jdbcType=VARCHAR},
Wharf = #{wharf,jdbcType=VARCHAR},
PositionCode = #{positioncode,jdbcType=VARCHAR},
BufferPosiCode = #{bufferposicode,jdbcType=VARCHAR},
OutSourceDocCode = #{outsourcedoccode,jdbcType=VARCHAR},
Type = #{type,jdbcType=VARCHAR},
Result = #{result,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id="selectListByWhere" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tb_sfc_warehousedata
${where}
</select>
<delete id="deleteByWhere" parameterType="java.lang.String" >
delete from tb_sfc_warehousedata
${where}
</delete>
</mapper>