feat(qc): 在质检报告同步逻辑中增加质检报告ID和明细ID字段
This commit is contained in:
parent
ab0e306fa2
commit
c60bdcc4ec
|
|
@ -141,6 +141,8 @@ public class SyncQcQmsRule implements IRule<ReportVO> {
|
|||
itemObj.put("sjsl", reportHeaderVO.getNapplynum().toString()); // 送检数量(设计单位),按设计计量单位统计的送检数量
|
||||
itemObj.put("jldw", cunitname); // 计量单位
|
||||
itemObj.put("bz", reportItemVO.getVbdef1()); // 明细备注,用于填写该送检物料的补充说明
|
||||
itemObj.put("bipzyid", pkReportbill); // 质检报告ID
|
||||
itemObj.put("bipqdid", reportItemVO.getPk_reportbill_b()); // 质检报告明细ID
|
||||
contentArray.add(itemObj);
|
||||
}
|
||||
singleObj.put("Content", contentArray);
|
||||
|
|
@ -271,8 +273,8 @@ public class SyncQcQmsRule implements IRule<ReportVO> {
|
|||
logger.error("QMS-QC-res = " + result);
|
||||
|
||||
if (!"true".equals(resultObj.getString("success"))) {
|
||||
// throw new BusinessException("QMS-QC-error:" + resultObj.getString("msg"));
|
||||
logger.error("QMS-QC-error,result[" + resultObj.toJSONString() + "]");
|
||||
throw new BusinessException("QMS-QC-error:" + resultObj.getString("message"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue