|
|
@ -1,7 +1,7 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.ruoyi.nanjing.mapper.TSyTracestateMapper">
|
|
|
|
<mapper namespace="com.ruoyi.nanjing.mapper.TSyTracestateMapper">
|
|
|
|
|
|
|
|
|
|
|
|
<resultMap type="TSyTracestate" id="TSyTracestateResult">
|
|
|
|
<resultMap type="TSyTracestate" id="TSyTracestateResult">
|
|
|
@ -32,48 +32,48 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="d9Remark" column="D9Remark" />
|
|
|
|
<result property="d9Remark" column="D9Remark" />
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <resultMap id="paraAll" type="com.ruoyi.nanjing.domain.ParaAllShow">-->
|
|
|
|
<!-- <resultMap id="paraAll" type="com.ruoyi.nanjing.domain.ParaAllShow">-->
|
|
|
|
<!-- <result property="barcode" column="系统条码" />-->
|
|
|
|
<!-- <result property="barcode" column="系统条码" />-->
|
|
|
|
<!-- <result property="productName" column="机种类型" />-->
|
|
|
|
<!-- <result property="productName" column="机种类型" />-->
|
|
|
|
<!-- <result property="semiBarcode" column="产品码" />-->
|
|
|
|
<!-- <result property="semiBarcode" column="产品码" />-->
|
|
|
|
<!-- <result property="state" column="合格状态" />-->
|
|
|
|
<!-- <result property="state" column="合格状态" />-->
|
|
|
|
<!-- <result property="currentStation" column="当前工位" />-->
|
|
|
|
<!-- <result property="currentStation" column="当前工位" />-->
|
|
|
|
<!-- <result property="NGStation" column="NG工位" />-->
|
|
|
|
<!-- <result property="NGStation" column="NG工位" />-->
|
|
|
|
<!-- <result property="finishFlag" column="完成状态" />-->
|
|
|
|
<!-- <result property="finishFlag" column="完成状态" />-->
|
|
|
|
<!-- <result property="namePlateInfo" column="标签Y/N" />-->
|
|
|
|
<!-- <result property="namePlateInfo" column="标签Y/N" />-->
|
|
|
|
<!-- <result property="isDis" column="返修Y/N" />-->
|
|
|
|
<!-- <result property="isDis" column="返修Y/N" />-->
|
|
|
|
<!-- <result property="beginTime" column="开始时间" />-->
|
|
|
|
<!-- <result property="beginTime" column="开始时间" />-->
|
|
|
|
<!-- <result property="endTime" column="结束时间" />-->
|
|
|
|
<!-- <result property="endTime" column="结束时间" />-->
|
|
|
|
<!-- <result property="proBarcode" column="部件码" />-->
|
|
|
|
<!-- <result property="proBarcode" column="部件码" />-->
|
|
|
|
<!-- <result property="stationCode" column="工位代码" />-->
|
|
|
|
<!-- <result property="stationCode" column="工位代码" />-->
|
|
|
|
<!-- <result property="insertTime" column="记录时间" />-->
|
|
|
|
<!-- <result property="insertTime" column="记录时间" />-->
|
|
|
|
<!-- <result property="paraName" column="参数名称" />-->
|
|
|
|
<!-- <result property="paraName" column="参数名称" />-->
|
|
|
|
<!-- <result property="realVal" column="实测值" />-->
|
|
|
|
<!-- <result property="realVal" column="实测值" />-->
|
|
|
|
<!-- <result property="minVal" column="最小值" />-->
|
|
|
|
<!-- <result property="minVal" column="最小值" />-->
|
|
|
|
<!-- <result property="maxVal" column="最大值" />-->
|
|
|
|
<!-- <result property="maxVal" column="最大值" />-->
|
|
|
|
<!-- <result property="paraState" column="参数状态" />-->
|
|
|
|
<!-- <result property="paraState" column="参数状态" />-->
|
|
|
|
<!-- </resultMap>-->
|
|
|
|
<!-- </resultMap>-->
|
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="col2" type="com.ruoyi.nanjing.domain.ProParaInfo">
|
|
|
|
<resultMap type="java.util.HashMap" id="col2">
|
|
|
|
<result property="semiBarcode" column="产品码" />
|
|
|
|
<result property="semiBarcode" column="产品码" />
|
|
|
|
<result property="proBarcode" column="部件码" />
|
|
|
|
<result property="proBarcode" column="部件码" />
|
|
|
|
<result property="stationCode" column="工位代码" />
|
|
|
|
<result property="stationCode" column="工位代码" />
|
|
|
|
<result property="insertTime" column="记录时间" />
|
|
|
|
<result property="insertTime" column="记录时间" />
|
|
|
|
<result property="paraName" column="参数名称" />
|
|
|
|
<result property="paraName" column="参数名称" />
|
|
|
|
<result property="realVal" column="实测值" />
|
|
|
|
<result property="realVal" column="实测值" />
|
|
|
|
<result property="minVal" column="最小值" />
|
|
|
|
<result property="minVal" column="最小值" />
|
|
|
|
<result property="maxVal" column="最大值" />
|
|
|
|
<result property="maxVal" column="最大值" />
|
|
|
|
<result property="paraState" column="参数状态" />
|
|
|
|
<result property="paraState" column="参数状态" />
|
|
|
|
<!-- <collection column="{semiCode=semiBarcode}" property="proRpList" ofType="com.ruoyi.nanjing.domain.ProRpList" select="getAttribute" >-->
|
|
|
|
<!-- <collection column="{semiCode=semiBarcode}" property="proRpList" ofType="com.ruoyi.nanjing.domain.ProRpList" select="getAttribute" >-->
|
|
|
|
<!-- </collection>-->
|
|
|
|
<!-- </collection>-->
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="col1" type="com.ruoyi.nanjing.domain.ProRpList">
|
|
|
|
<resultMap type="java.util.HashMap" id="col1" >
|
|
|
|
<result property="barcode" column="系统条码" />
|
|
|
|
<result property="barcode" column="系统条码" />
|
|
|
|
<result property="semiBarcode" column="产品码" />
|
|
|
|
<result property="semiBarcode" column="产品码" />
|
|
|
|
<result property="productName" column="机种类型" />
|
|
|
|
<result property="productName" column="机种类型" />
|
|
|
|
<result property="isDis" column="返修Y/N" />
|
|
|
|
<result property="isDis" column="返修Y/N" />
|
|
|
|
<result property="state" column="合格状态" />
|
|
|
|
<result property="state" column="合格状态" />
|
|
|
|
<result property="finishFlag" column="完成状态" />
|
|
|
|
<result property="finishFlag" column="完成状态" />
|
|
|
|
<result property="currentStation" column="当前工位" />
|
|
|
|
<result property="currentStation" column="当前工位" />
|
|
|
|
<result property="NGStation" column="NG工位" />
|
|
|
|
<result property="NGStation" column="NG工位" />
|
|
|
@ -111,7 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectAllPara" parameterType="map" resultMap="col2" statementType="CALLABLE">
|
|
|
|
<select id="selectAllPara" statementType="CALLABLE" parameterType="map" resultMap="col1,col2" >
|
|
|
|
{
|
|
|
|
{
|
|
|
|
call pro_AllParaShowInfo_Net
|
|
|
|
call pro_AllParaShowInfo_Net
|
|
|
|
(
|
|
|
|
(
|
|
|
@ -150,7 +150,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="nGStationID != null">NGStationID,</if>
|
|
|
|
<if test="nGStationID != null">NGStationID,</if>
|
|
|
|
<if test="finishFlag != null">FinishFlag,</if>
|
|
|
|
<if test="finishFlag != null">FinishFlag,</if>
|
|
|
|
<if test="d9Remark != null">D9Remark,</if>
|
|
|
|
<if test="d9Remark != null">D9Remark,</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="barcode != null">#{barcode},</if>
|
|
|
|
<if test="barcode != null">#{barcode},</if>
|
|
|
|
<if test="productID != null">#{productID},</if>
|
|
|
|
<if test="productID != null">#{productID},</if>
|
|
|
@ -177,7 +177,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="nGStationID != null">#{nGStationID},</if>
|
|
|
|
<if test="nGStationID != null">#{nGStationID},</if>
|
|
|
|
<if test="finishFlag != null">#{finishFlag},</if>
|
|
|
|
<if test="finishFlag != null">#{finishFlag},</if>
|
|
|
|
<if test="d9Remark != null">#{d9Remark},</if>
|
|
|
|
<if test="d9Remark != null">#{d9Remark},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
<update id="updateTSyTracestate" parameterType="TSyTracestate">
|
|
|
|
<update id="updateTSyTracestate" parameterType="TSyTracestate">
|
|
|
|