Compare commits

...

2 Commits

Author SHA1 Message Date
LHD_HY a51abeb58c Merge remote-tracking branch 'origin/master' 2025-11-26 18:00:24 +08:00
LHD_HY a2e46f04a0 bug修复 2025-11-26 18:00:01 +08:00
3 changed files with 4 additions and 8 deletions

View File

@ -102,9 +102,9 @@ public class FinanceService {
try {
// 2. 校验文件名称唯一性
// if (!imdFinanceService.checkFileNameUnique(addDto)) {
// return AjaxResult.error("同一企业下文件名称已存在,请更换");
// }
if (!imdFinanceService.checkFileNameUnique(addDto)) {
return AjaxResult.error("同一企业下文件名称已存在,请更换");
}
// 3. 调用内层Service新增财务信息操作类型1=新增与业绩模块枚举逻辑一致
int rows = imdFinanceService.operFinanceData(addDto, 1);
if (rows <= 0) {

View File

@ -113,7 +113,7 @@
<if test="params.certificateEndDate != null">
certificate_end_date = #{params.certificateEndDate},
</if>
<if test="params.certificateInstitution != null and params.certificateInstitution != ''">
<if test="params.certificateInstitution != null">
certificate_institution = #{params.certificateInstitution},
</if>
<if test="params.qualificationType != null and params.qualificationType != ''">

View File

@ -19,16 +19,12 @@
tb.composition_id, tb.template_id, tb.composition_type,
tb.file_name, tb.file_type
from tb_template_composition tb
left join tb_template_composition comp
on tb.template_id = comp.template_id
where tb.del_flag = '0'
</sql>
<!-- 1. 根据模板ID查询组成记录 -->
<select id="selectByTemplateId" parameterType="Long" resultMap="templateCompositionResult">
<include refid="selectTemplateComposition"/>
where template_id = #{templateId}
</select>
<!-- 2. 新增模板组成记录 -->