bug修改
This commit is contained in:
lgh 2022-11-10 10:30:00 +08:00
parent 1a6c19bf14
commit 647e3f5761

View File

@ -1217,7 +1217,8 @@ public class AsynRunTaskService extends BaseService {
*/ */
private void createStoveCode(CurrTask currTask){ private void createStoveCode(CurrTask currTask){
if (!(isFirstTask(currTask)&&currTask.getKilnId()==3)) { if (!(isFirstTask(currTask)&&currTask.getKilnId()==3)) {
String stoveCode = CodeGeneratorHelper.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue().toString()); //String stoveCode = CodeGeneratorHelper.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue().toString());
String stoveCode =StoveCodeUtils.getStoveCode(currTask.getTargetPosition(),currTask.getPlcValue());
currTask.setStoveCode(stoveCode); currTask.setStoveCode(stoveCode);
currTaskServiceBiz.updateById(currTask); currTaskServiceBiz.updateById(currTask);
}else { }else {