|
|
@ -141,7 +141,7 @@ public class CompServiceImpl extends Service implements CompService {
|
|
|
|
// 判断是否开启自动编号
|
|
|
|
// 判断是否开启自动编号
|
|
|
|
compNo = repeatDetermine(compNo);
|
|
|
|
compNo = repeatDetermine(compNo);
|
|
|
|
params.put("comp_no", compNo);
|
|
|
|
params.put("comp_no", compNo);
|
|
|
|
if (StringUtils.isBlank((String) params.get("show_order"))) {
|
|
|
|
if (StringUtils.isBlank(params.get("show_order").toString())) {
|
|
|
|
int maxShowOrder = getCompMapper().getMaxShowOrder();
|
|
|
|
int maxShowOrder = getCompMapper().getMaxShowOrder();
|
|
|
|
params.put("show_order", maxShowOrder + 1);
|
|
|
|
params.put("show_order", maxShowOrder + 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|