生成炉号
This commit is contained in:
李广豪 2022-11-03 16:18:44 +08:00
parent d5464eed6c
commit 7cfa7168e1

View File

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