手持查询

highway
A0010407 1 year ago
parent 045090004c
commit d193c0c676

@ -47,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where material_code = #{sku} and CONVERT(varchar(10),plan_time, 120) = CONVERT(varchar(10),#{reqTime}, 120) where material_code = #{sku} and CONVERT(varchar(10),plan_time, 120) = CONVERT(varchar(10),#{reqTime}, 120)
and del_flag = '0' and del_flag = '0'
</select> </select>
<select id="getAllEquipments" resultType="com.op.mes.domain.dto.BaseEquipmentDto"> <select id="getAllEquipments" resultType="com.op.mes.domain.dto.BaseEquipmentDto">
select equipment_id equipmentId, select equipment_id equipmentId,
equipment_code equipmentCode, equipment_code equipmentCode,
@ -55,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
equipment_type_name equipmentTypeName equipment_type_name equipmentTypeName
from base_equipment from base_equipment
where del_flag = '0' where del_flag = '0'
and status = '1'
<if test="equipmentTypeCode != null and equipmentTypeCode != ''"> <if test="equipmentTypeCode != null and equipmentTypeCode != ''">
and equipment_type_code = #{equipmentTypeCode} and equipment_type_code = #{equipmentTypeCode}
</if> </if>

@ -68,7 +68,6 @@ public class QuaController extends BaseController {
return success(qcProCheckService.getEquipmentList(qcProCheck)); return success(qcProCheckService.getEquipmentList(qcProCheck));
} }
/** /**
* *
*/ */

@ -94,9 +94,7 @@ public class QcProCheckServiceImpl implements QcProCheckService {
@Override @Override
public List<QcProCheck> getDictList(QcProCheck qcProCheck) { public List<QcProCheck> getDictList(QcProCheck qcProCheck) {
DynamicDataSourceContextHolder.push("master"); DynamicDataSourceContextHolder.push("master");
qcProCheck.setEquipmentTypeCode("cache"); qcProCheck.setEquipmentTypeCode("equ_type");
return qcProCheckMapper.getDictList(qcProCheck); return qcProCheckMapper.getDictList(qcProCheck);
} }
} }

Loading…
Cancel
Save