优化供应商和客户的校验逻辑

This commit is contained in:
季圣华
2021-12-03 00:28:22 +08:00
parent f24733fd12
commit 3abb818f5e
4 changed files with 37 additions and 7 deletions

View File

@@ -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>