3.6.3
createby和updateby保存的地方有username改为nickname 原材料出库记录查询完善 原材料入库记录查询完善 限制一个用户多端登录 车间申请领料按bom内物料和非bom内物料搜索 四楼折弯和焊接工序可以领料和打印条码 一楼各工序可以打印条码和成品出入库 五楼质检工序生成成品条码前必须质检通过master
parent
a25c247ac1
commit
66a3fcf09c
@ -0,0 +1,26 @@
|
||||
package com.hw.mes.mapper;
|
||||
|
||||
import com.hw.mes.domain.QmsCheckResultDetail;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 质检结果详情Mapper接口
|
||||
*
|
||||
* @author xins
|
||||
* @date 2024-01-23
|
||||
*/
|
||||
public interface QmsCheckResultDetailMapper
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* 查询质检结果详情列表
|
||||
*
|
||||
* @param qmsCheckResultDetail 质检结果详情
|
||||
* @return 质检结果详情集合
|
||||
*/
|
||||
public List<QmsCheckResultDetail> selectQmsCheckResultDetailList(QmsCheckResultDetail qmsCheckResultDetail);
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
<?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.hw.mes.mapper.QmsCheckResultDetailMapper">
|
||||
|
||||
<resultMap type="QmsCheckResultDetail" id="QmsCheckResultDetailResult">
|
||||
<result property="checkResultDetailId" column="check_result_detail_id" />
|
||||
<result property="checkResultId" column="check_result_id" />
|
||||
<result property="materialBarcode" column="material_barcode" />
|
||||
<result property="materialId" column="material_id" />
|
||||
<result property="checkRuleId" column="check_rule_id" />
|
||||
<result property="checkRuleType" column="check_rule_type" />
|
||||
<result property="checkRuleName" column="check_rule_name" />
|
||||
<result property="checkMode" column="check_mode" />
|
||||
<result property="checkSample" column="check_sample" />
|
||||
<result property="checkStatus" column="check_status" />
|
||||
<result property="remark" column="remark" />
|
||||
<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="materialCode" column="material_code" />
|
||||
<result property="materialName" column="material_name" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
|
||||
<sql id="selectQmsCheckResultDetailVo">
|
||||
select check_result_detail_id, check_result_id, material_barcode, material_id, check_rule_id, check_rule_type, check_rule_name, check_mode, check_sample, check_status, remark, create_by, create_time, update_by, update_time from qms_check_result_detail
|
||||
</sql>
|
||||
|
||||
|
||||
<select id="selectQmsCheckResultDetailList" parameterType="QmsCheckResultDetail" resultMap="QmsCheckResultDetailResult">
|
||||
select check_result_detail_id,material_barcode,check_status from qms_check_result_detail
|
||||
<where>
|
||||
<if test="checkResultId != null "> and check_result_id = #{checkResultId}</if>
|
||||
<if test="materialBarcode != null and materialBarcode != ''"> and material_barcode = #{materialBarcode}</if>
|
||||
<if test="materialId != null "> and material_id = #{materialId}</if>
|
||||
<if test="checkRuleId != null "> and check_rule_id = #{checkRuleId}</if>
|
||||
<if test="checkRuleType != null and checkRuleType != ''"> and check_rule_type = #{checkRuleType}</if>
|
||||
<if test="checkRuleName != null and checkRuleName != ''"> and check_rule_name like concat('%', #{checkRuleName}, '%')</if>
|
||||
<if test="checkMode != null and checkMode != ''"> and check_mode = #{checkMode}</if>
|
||||
<if test="checkSample != null "> and check_sample = #{checkSample}</if>
|
||||
<if test="checkStatus != null and checkStatus != ''"> and check_status = #{checkStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue