加日志
This commit is contained in:
parent
6a8aca42f2
commit
8f92064339
|
|
@ -11,6 +11,7 @@ import com.bonus.sgzb.common.core.constant.TaskTypeConstants;
|
|||
import com.bonus.sgzb.common.core.enums.TaskStatusEnum;
|
||||
import com.bonus.sgzb.common.core.enums.TaskTypeEnum;
|
||||
import com.bonus.sgzb.common.core.utils.DateUtils;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
|
@ -28,6 +29,7 @@ import java.util.List;
|
|||
*/
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class BackReceiveServiceImpl implements BackReceiveService {
|
||||
|
||||
@Resource
|
||||
|
|
@ -193,6 +195,7 @@ public class BackReceiveServiceImpl implements BackReceiveService {
|
|||
scrapNum += bi.getBackNum();
|
||||
}
|
||||
}
|
||||
log.error("check001退料接收:{},{},{},{}",maxBackNumBackEnd,passNum,maintenanceNum,scrapNum);
|
||||
if (maxBackNumBackEnd < passNum + maintenanceNum + scrapNum) {
|
||||
throw new RuntimeException("提交退料数量大于最大退料数,可能您的退料已被别人退掉了");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue