|
|
|
@ -146,6 +146,7 @@ public class QcCheckTaskIncomeServiceImpl<QcCheckUnqualifiedService> implements
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public int insertQcCheckTaskIncome(QcCheckTaskIncome qcCheckTaskIncome) {
|
|
|
|
|
logger.info("创建检验任务接收参数:"+JSONObject.toJSONString(qcCheckTaskIncome));
|
|
|
|
|
DynamicDataSourceContextHolder.push("ds_" + qcCheckTaskIncome.getFactoryCode());
|
|
|
|
|
String bpDD = DateUtils.parseDateToStr(DateUtils.YYYYMMDD, DateUtils.getNowDate());
|
|
|
|
|
int liushuiNum = qcCheckTaskIncomeMapper.getTodayMaxNum(qcCheckTaskIncome);
|
|
|
|
@ -641,6 +642,7 @@ public class QcCheckTaskIncomeServiceImpl<QcCheckUnqualifiedService> implements
|
|
|
|
|
@Override
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public int commitCheckResults(QcCheckTaskIncome qcCheckTaskIncome) {
|
|
|
|
|
logger.info("质检提交参数:"+JSONObject.toJSONString(qcCheckTaskIncome));
|
|
|
|
|
List<QcCheckTaskDetail> details = qcCheckTaskIncome.getQcCheckTaskDetails();
|
|
|
|
|
|
|
|
|
|
Date nowTime = DateUtils.getNowDate();
|
|
|
|
|