新增模糊查询

This commit is contained in:
马三炮 2025-05-08 16:24:53 +08:00
parent 7480fe2fd4
commit 94ea652330
2 changed files with 7 additions and 7 deletions

View File

@ -100,7 +100,7 @@ public class TbKeyPeopleController extends BaseController {
return success("关键人员修改成功");
}catch (Exception e){
log.info("关键人员修改失败{}",e.getMessage());
return error("关键人员修改失败");
return error(e.getMessage());
}
}

View File

@ -7,16 +7,16 @@
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">title,</if>
<if test="workContent != null and workContent != ''">work_content,</if>
<if test="keyUser != null">key_user,</if>
<if test="perfId != null ">perf_id,</if>
<if test="source != null ">source,</if>
<if test="keyUser != null and keyUser != ''">key_user,</if>
<if test="perfId != null and perfId != '' ">perf_id,</if>
<if test="source != null and source != ''">source,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null and title != ''">#{title},</if>
<if test="workContent != null and workContent != ''">#{workContent},</if>
<if test="keyUser != null ">#{keyUser},</if>
<if test="perfId != null ">#{perfId},</if>
<if test="source != null ">#{source},</if>
<if test="keyUser != null and keyUser != ''">#{keyUser},</if>
<if test="perfId != null and perfId != ''">#{perfId},</if>
<if test="source != null and source != ''">#{source},</if>
</trim>
</insert>
<delete id="delTbCompanyPerRelByPerfId">