2025-07-25 14:26:24 +08:00
|
|
|
<?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.klp.mes.qc.mapper.WmsCheckItemMapper">
|
|
|
|
|
|
|
|
|
|
<resultMap type="com.klp.mes.qc.domain.WmsCheckItem" id="WmsCheckItemResult">
|
|
|
|
|
<result property="itemId" column="item_id"/>
|
|
|
|
|
<result property="itemName" column="item_name"/>
|
2025-10-16 17:53:10 +08:00
|
|
|
<!-- 新增字段映射 -->
|
|
|
|
|
<result property="targetUpper" column="target_upper"/>
|
|
|
|
|
<result property="targetLower" column="target_lower"/>
|
|
|
|
|
<result property="standardTarget" column="standard_target"/>
|
|
|
|
|
<result property="unit" column="unit"/>
|
|
|
|
|
<result property="qualitativeQuantitative" column="qualitative_quantitative"/>
|
2026-05-11 11:00:43 +08:00
|
|
|
<result property="sampleAnalysisTime" column="sample_analysis_time"/>
|
2025-07-25 14:26:24 +08:00
|
|
|
<result property="createBy" column="create_by"/>
|
|
|
|
|
<result property="createTime" column="create_time"/>
|
|
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
|
<result property="delFlag" column="del_flag"/>
|
|
|
|
|
<result property="remark" column="remark"/>
|
|
|
|
|
</resultMap>
|
2025-12-05 17:03:57 +08:00
|
|
|
<select id="selectVoListByIds" resultType="com.klp.mes.qc.domain.vo.WmsCheckItemVo">
|
|
|
|
|
SELECT item_id,
|
|
|
|
|
item_name,
|
|
|
|
|
target_upper,
|
|
|
|
|
target_lower,
|
|
|
|
|
standard_target,
|
|
|
|
|
unit,
|
|
|
|
|
qualitative_quantitative,
|
2026-05-11 11:00:43 +08:00
|
|
|
sample_analysis_time,
|
2025-12-05 17:03:57 +08:00
|
|
|
create_by,
|
|
|
|
|
create_time,
|
|
|
|
|
update_by,
|
|
|
|
|
update_time,
|
|
|
|
|
del_flag,
|
|
|
|
|
remark
|
|
|
|
|
FROM wms_check_item
|
|
|
|
|
WHERE item_id IN
|
2025-12-05 17:46:28 +08:00
|
|
|
<foreach item="id" collection="ids" separator="," close=")" open="(" index="">
|
|
|
|
|
#{id}
|
2025-12-05 17:03:57 +08:00
|
|
|
</foreach>
|
|
|
|
|
</select>
|
2025-07-25 14:26:24 +08:00
|
|
|
|
|
|
|
|
|
2025-12-05 17:46:28 +08:00
|
|
|
|
2025-07-25 14:26:24 +08:00
|
|
|
</mapper>
|