|
@@ -84,7 +84,7 @@ public class WbsParamServiceImpl extends BaseServiceImpl<WbsParamMapper, WbsPara
|
|
|
//优先使用自己配置的文件题名规则
|
|
//优先使用自己配置的文件题名规则
|
|
|
Integer classify=wtc.getTableOwner()==null?1:"123".contains(wtc.getTableOwner())?1:2;
|
|
Integer classify=wtc.getTableOwner()==null?1:"123".contains(wtc.getTableOwner())?1:2;
|
|
|
String sqlmbNameRule="select name_rule from mb_name_rule where wbs_id=? and classify=?";
|
|
String sqlmbNameRule="select name_rule from mb_name_rule where wbs_id=? and classify=?";
|
|
|
- List<String> nameRuleVos = jdbcTemplate.query(sqlmbNameRule, new SingleColumnRowMapper<>(String.class), wtp.getPKeyId(),classify);
|
|
|
|
|
|
|
+ List<String> nameRuleVos = jdbcTemplate.query(sqlmbNameRule, new SingleColumnRowMapper<>(String.class), wtc.getPKeyId(),classify);
|
|
|
if(!nameRuleVos.isEmpty()){
|
|
if(!nameRuleVos.isEmpty()){
|
|
|
wp.setV(nameRuleVos.get(0));
|
|
wp.setV(nameRuleVos.get(0));
|
|
|
}
|
|
}
|