修改分组页面,新增名称重复校验以及查询的bug
This commit is contained in:
@@ -126,5 +126,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="selectByParentIdAndGroupName" resultMap="BasSheepGroupResult">
|
||||
SELECT * FROM bas_sheep_group
|
||||
WHERE parent_id = #{parentId} AND group_name = #{groupName}
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user