添加商品类别编号唯一校验
This commit is contained in:
@@ -91,5 +91,13 @@
|
||||
name=#{name},remark=#{remark}
|
||||
where id =#{id}
|
||||
</update>
|
||||
<select id="getMaterialCategoryBySerialNo" resultMap="com.jsh.erp.datasource.mappers.MaterialCategoryMapper.BaseResultMap">
|
||||
select
|
||||
<include refid="com.jsh.erp.datasource.mappers.MaterialCategoryMapper.Base_Column_List"/>
|
||||
FROM jsh_materialcategory
|
||||
where 1=1
|
||||
and serial_no=#{serialNo}
|
||||
and status !='2'
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user