|
@@ -215,7 +215,7 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
String sql="select * from m_wbs_tree_contract where p_key_id="+query.getWbsId()+" and is_deleted=0";
|
|
|
WbsTreeContract contract = jdbcTemplate.queryForObject(sql, new BeanPropertyRowMapper<>(WbsTreeContract.class));
|
|
|
String result=wbsParamClient.createFileTitle(contract);
|
|
|
- if(contract!=null&&contract.getMajorDataType()!=null&&contract.getMajorDataType()==6){
|
|
|
+ if(contract!=null&&contract.getMajorDataType()!=null&&contract.getMajorDataType()==4){
|
|
|
if(query.getClassify()!=null&&query.getClassify()==1&&StringUtils.isNotEmpty(sgSuffix)){
|
|
|
result=result+sgSuffix;
|
|
|
if(!query.getName().equals(result)){
|