优化供应商和客户的校验逻辑
This commit is contained in:
@@ -83,9 +83,9 @@
|
||||
)
|
||||
</update>
|
||||
|
||||
<select id="getSupplierByName" resultType="com.jsh.erp.datasource.entities.Supplier">
|
||||
<select id="getSupplierByNameAndType" resultType="com.jsh.erp.datasource.entities.Supplier">
|
||||
select *
|
||||
from jsh_supplier
|
||||
where supplier = #{supplier}
|
||||
where supplier = #{supplier} and type = #{type}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user