feature:物料编辑无税率不修改

release
gaorl 2 years ago
parent 35df8ddea5
commit b41ae4350e
  1. 3
      order-management-base-service/src/main/java/com/dxhy/order/baseservice/module/commodity/controller/CommodityController.java
  2. 2
      order-management-base-service/src/main/resources/mybatis/mapper/CommodityMapper.xml

@ -177,6 +177,9 @@ public class CommodityController {
if(StringUtils.isBlank(commodityCodeEntity.getXmdj())){
commodityCodeEntity.setXmdj("");
}
if(StringUtils.isBlank(commodityCodeEntity.getSl())){
commodityCodeEntity.setSl("");
}
/**
* 添加校验

@ -270,7 +270,7 @@
<if test="commodityCode.spjm != null and commodityCode.spjm != ''">
brief_code = #{commodityCode.spjm,jdbcType=VARCHAR},
</if>
<if test="commodityCode.sl != null and commodityCode.sl != ''">
<if test="commodityCode.sl != null">
tax_rate = #{commodityCode.sl,jdbcType=VARCHAR},
</if>
<if test="commodityCode.ggxh != null">

Loading…
Cancel
Save