自测问题

This commit is contained in:
jjLv 2024-08-22 10:47:39 +08:00
parent fa9adbbab4
commit e3cc777c08
1 changed files with 2 additions and 6 deletions

View File

@ -47,19 +47,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="checkProjectDeptNameUnique" resultMap="BaseProjectResult">
select a.id, depart_name, head_name, contact_information,count(b.source_id) as appnum, remarks
select a.id, depart_name, head_name, contact_information, remarks
from tb_project_depart a
left join sys_file_source b on a.id = b.source_id and b.del_flag = 0
where depart_name = #{projectDepartName} and a.id != #{projectId}
group by a.id
</select>
<select id="checkProjectDeptNameUniqueAdd" resultMap="BaseProjectResult">
select a.id, depart_name, head_name, contact_information,count(b.source_id) as appnum, remarks
select a.id, depart_name, head_name, contact_information, remarks
from tb_project_depart a
left join sys_file_source b on a.id = b.source_id and b.del_flag = 0
where depart_name = #{projectDepartName}
group by a.id
</select>
<insert id="insertProject" parameterType="com.bonus.common.entity.bracelet.vo.BaseProject" useGeneratedKeys="true" keyProperty="projectId">