update:
上报apms炉号修改
This commit is contained in:
		@@ -1218,6 +1218,13 @@ public class AsynRunTaskService extends BaseService {
 | 
			
		||||
     * 单步骤任务都生成炉号
 | 
			
		||||
     */
 | 
			
		||||
    private void createStoveCode(CurrTask currTask) {
 | 
			
		||||
        //单步骤任务
 | 
			
		||||
        if (currTask.getIsAuto() == 0) {
 | 
			
		||||
            String stoveCode = StoveCodeUtils.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue());
 | 
			
		||||
            currTask.setStoveCode(stoveCode);
 | 
			
		||||
            currTaskServiceBiz.updateById(currTask);
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        if (!(isFirstTask(currTask) && currTask.getKilnId() == 3)) {
 | 
			
		||||
            //String stoveCode = CodeGeneratorHelper.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue().toString());
 | 
			
		||||
            String stoveCode = StoveCodeUtils.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user