Compare commits
No commits in common. "14221a8945a6df8461439612459bc8be95c6052f" and "2dceac7fdd790e799d1e6ef20ebef9fe189b2b53" have entirely different histories.
14221a8945
...
2dceac7fdd
|
|
@ -288,7 +288,7 @@ public class QmsIssueTicketControllerService {
|
||||||
.eq(User::getPurchasingGroup, detail.getPurchaseGroup())
|
.eq(User::getPurchasingGroup, detail.getPurchaseGroup())
|
||||||
.list();
|
.list();
|
||||||
List<QmsTodoItem> todoItems = users.stream().map(user -> new QmsTodoItem()
|
List<QmsTodoItem> todoItems = users.stream().map(user -> new QmsTodoItem()
|
||||||
.setCode(detail.getTaskNo())
|
.setCode(basdeSerialNumberControllerService.generateSerialNumber(32))
|
||||||
.setSourceTypeId(dictionaryItemService.getIdByCode("MessageType", "IncomingMaterialInspectionApproval"))
|
.setSourceTypeId(dictionaryItemService.getIdByCode("MessageType", "IncomingMaterialInspectionApproval"))
|
||||||
.setSourceId(entity.getId())
|
.setSourceId(entity.getId())
|
||||||
.setCreateUserId(user.getId())
|
.setCreateUserId(user.getId())
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ import java.time.LocalDateTime;
|
||||||
@Data
|
@Data
|
||||||
public class QmsIncomingInspectionTaskAqlRuleVO {
|
public class QmsIncomingInspectionTaskAqlRuleVO {
|
||||||
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 检测任务编号
|
* 检测任务编号
|
||||||
*/
|
*/
|
||||||
|
|
@ -52,21 +50,11 @@ public class QmsIncomingInspectionTaskAqlRuleVO {
|
||||||
*/
|
*/
|
||||||
private Long calculatedAqlType;
|
private Long calculatedAqlType;
|
||||||
|
|
||||||
/**
|
|
||||||
* 计算的AQL类型名称
|
|
||||||
*/
|
|
||||||
private String calculatedAqlTypeName;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 使用的AQL类型(字典项id)
|
* 使用的AQL类型(字典项id)
|
||||||
*/
|
*/
|
||||||
private Long usedAqlType;
|
private Long usedAqlType;
|
||||||
|
|
||||||
/**
|
|
||||||
* 使用的AQL类型名称
|
|
||||||
*/
|
|
||||||
private String usedAqlTypeName;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 触发类别:0=默认状态,1=触发规则,2=手动调整
|
* 触发类别:0=默认状态,1=触发规则,2=手动调整
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
<select id="search" resultType="com.nflg.wms.common.pojo.vo.QmsIncomingInspectionTaskAqlRuleVO">
|
<select id="search" resultType="com.nflg.wms.common.pojo.vo.QmsIncomingInspectionTaskAqlRuleVO">
|
||||||
SELECT
|
SELECT
|
||||||
r.id,
|
|
||||||
t.task_no,
|
t.task_no,
|
||||||
t.supplier_code,
|
t.supplier_code,
|
||||||
t.supplier_name,
|
t.supplier_name,
|
||||||
|
|
@ -13,9 +12,7 @@
|
||||||
m.material_desc,
|
m.material_desc,
|
||||||
s.version,
|
s.version,
|
||||||
r.calculated_aql_type,
|
r.calculated_aql_type,
|
||||||
di1.name AS calculated_aql_type_name,
|
|
||||||
r.used_aql_type,
|
r.used_aql_type,
|
||||||
di2.name AS used_aql_type_name,
|
|
||||||
r.trigger_category,
|
r.trigger_category,
|
||||||
CASE r.trigger_category
|
CASE r.trigger_category
|
||||||
WHEN 0 THEN '默认状态'
|
WHEN 0 THEN '默认状态'
|
||||||
|
|
@ -29,8 +26,6 @@
|
||||||
INNER JOIN qms_incoming_inspection_task t ON r.task_id = t.id
|
INNER JOIN qms_incoming_inspection_task t ON r.task_id = t.id
|
||||||
INNER JOIN qms_qc_material m ON t.material_id = m.id
|
INNER JOIN qms_qc_material m ON t.material_id = m.id
|
||||||
LEFT JOIN qms_inspection_standard s ON r.inspection_standard_id = s.id
|
LEFT JOIN qms_inspection_standard s ON r.inspection_standard_id = s.id
|
||||||
LEFT JOIN dictionary_item di1 on r.calculated_aql_type=di1.id
|
|
||||||
LEFT JOIN dictionary_item di2 on r.used_aql_type=di2.id
|
|
||||||
<where>
|
<where>
|
||||||
t.inspection_status IN (0, 1)
|
t.inspection_status IN (0, 1)
|
||||||
<if test="request.supplierCode != null and request.supplierCode != ''">
|
<if test="request.supplierCode != null and request.supplierCode != ''">
|
||||||
|
|
|
||||||
|
|
@ -39,9 +39,7 @@
|
||||||
t.update_user_name,
|
t.update_user_name,
|
||||||
t.update_time,
|
t.update_time,
|
||||||
t.purchase_group,
|
t.purchase_group,
|
||||||
t.callback_result,
|
t.callback_result
|
||||||
t.warehouse,
|
|
||||||
t.storage_days
|
|
||||||
FROM qms_incoming_inspection_task t
|
FROM qms_incoming_inspection_task t
|
||||||
LEFT JOIN qms_qc_material m ON t.material_id = m.id
|
LEFT JOIN qms_qc_material m ON t.material_id = m.id
|
||||||
LEFT JOIN qms_inspection_standard s ON t.inspection_standard_id = s.id
|
LEFT JOIN qms_inspection_standard s ON t.inspection_standard_id = s.id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue