apms-createProcess端口放到进炉前访问
This commit is contained in:
@@ -36,6 +36,20 @@ public class CodeGeneratorHelper {
|
||||
* 自动任务编码
|
||||
*/
|
||||
public static final String AUTO_TASK_CODE = "AUTO_TASK_CODE";
|
||||
|
||||
/**
|
||||
* 炉号编码
|
||||
*/
|
||||
public static final String STOVE_CODE = "STOVE_CODE";
|
||||
|
||||
/**
|
||||
* 生成自炉号编码
|
||||
*
|
||||
* @return 订单编号
|
||||
*/
|
||||
public static String getStoveCode(String kilnNameAndCraft) {
|
||||
return IDGenerator.gen(kilnNameAndCraft, "yyMMdd", 2, STOVE_CODE);
|
||||
}
|
||||
/**
|
||||
* 生成自动任务编码
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user