退料管理
This commit is contained in:
parent
3806ae330a
commit
1e4fb18018
|
|
@ -26,6 +26,14 @@ public class MaCodeDto {
|
|||
@ApiModelProperty(value = "机具外观判断")
|
||||
private String apDetection;
|
||||
|
||||
private String typeId;
|
||||
|
||||
private String materialName;
|
||||
|
||||
private String typeName;
|
||||
|
||||
private String maStatus;
|
||||
|
||||
/**
|
||||
* 附件列表
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -131,6 +131,10 @@ public class BackApplyInfoServiceImpl implements IBackApplyInfoService {
|
|||
maCodeDto.setMaCode(maCodeVo.getMaCode());
|
||||
maCodeDto.setMaId(maCodeVo.getMaId());
|
||||
maCodeDto.setApDetection(maCodeVo.getApDetection());
|
||||
maCodeDto.setTypeName(maCodeVo.getTypeName());
|
||||
maCodeDto.setMaterialName(maCodeVo.getMaterialName());
|
||||
maCodeDto.setTypeId(maCodeVo.getTypeId());
|
||||
maCodeDto.setMaStatus(maCodeVo.getMaStatus());
|
||||
// 查询并设置编码附件
|
||||
List<BmFileInfo> bmFileInfoList = fetchBmFileInfos(details.getId(), maCodeVo.getMaId());
|
||||
if (CollectionUtils.isNotEmpty(bmFileInfoList)) {
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN tm_task_agreement tta ON lai.task_id = tta.task_id
|
||||
LEFT JOIN bm_agreement_info ba ON tta.agreement_id = ba.agreement_id
|
||||
WHERE
|
||||
1 = 1
|
||||
1 = 1 and mm.ma_status = '2'
|
||||
<if test="unitId != null">
|
||||
and ba.unit_id = #{unitId}
|
||||
</if>
|
||||
|
|
@ -186,7 +186,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bcd.type_id AS typeId,
|
||||
mt.type_name AS materialName,
|
||||
mt1.type_name AS typeName,
|
||||
bcd.ap_detection AS apDetection
|
||||
bcd.ap_detection AS apDetection,
|
||||
mm.ma_status AS maStatus
|
||||
FROM
|
||||
back_check_details bcd
|
||||
left join ma_machine mm on bcd.ma_id = mm.ma_id
|
||||
|
|
|
|||
Loading…
Reference in New Issue