opt:入密集库起点不清空
This commit is contained in:
@@ -83,10 +83,14 @@ public class TrussCallShaftCacheTask extends AbstractAcsTask {
|
|||||||
String endPoint = task.getPoint_code2();
|
String endPoint = task.getPoint_code2();
|
||||||
BstIvtShafttubeivt startPointObj = shafttubeivtService.getByPointCode(startPoint, false);
|
BstIvtShafttubeivt startPointObj = shafttubeivtService.getByPointCode(startPoint, false);
|
||||||
BstIvtShafttubeivt endPointObj = shafttubeivtService.getByPointCode(endPoint, false);
|
BstIvtShafttubeivt endPointObj = shafttubeivtService.getByPointCode(endPoint, false);
|
||||||
// 起点清空
|
// 起点清空,如果是入密集库的行架任务,起点不清空
|
||||||
startPointObj.setHave_qzz("0");
|
if(!startPointObj.getPoint_code().contains("B_CBJ")){
|
||||||
TaskUtils.updateOptMessageByBShaftPoint(startPointObj);
|
startPointObj.setHave_qzz("0");
|
||||||
shafttubeivtService.updateById(startPointObj);
|
TaskUtils.updateOptMessageByBShaftPoint(startPointObj);
|
||||||
|
shafttubeivtService.updateById(startPointObj);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
endPointObj.setHave_qzz("1");
|
endPointObj.setHave_qzz("1");
|
||||||
TaskUtils.updateOptMessageByBShaftPoint(endPointObj);
|
TaskUtils.updateOptMessageByBShaftPoint(endPointObj);
|
||||||
shafttubeivtService.updateById(endPointObj);
|
shafttubeivtService.updateById(endPointObj);
|
||||||
|
|||||||
Reference in New Issue
Block a user