release
gaorl 2 years ago
commit 3502a03e2e
  1. 3
      order-management-consumer/src/main/java/com/dxhy/order/consumer/modules/order/controller/BuyerController.java
  2. 4
      order-management-invoice/src/main/resources/mybatis/mapper/OrderInfoMapper.xml

@ -185,6 +185,9 @@ public class BuyerController {
OrderInfo orderInfo = new OrderInfo();
orderInfo.setGhfMc(StringUtils.isBlank(buyerEntity.getPurchaseName())?null:buyerEntity.getPurchaseName());
orderInfo.setGhfNsrsbh(StringUtils.isBlank(buyerEntity.getTaxpayerCode())?null:buyerEntity.getTaxpayerCode());
if (StringUtils.isNotBlank(orderInfo.getGhfNsrsbh())) {
orderInfo.setGhfQylx(OrderInfoEnum.GHF_QYLX_04.getKey());
}
if(buyerEntity.getBuyerEntityDetail() != null && buyerEntity.getBuyerEntityDetail().size() > 0 ){
buyerEntity.getBuyerEntityDetail().forEach(t->{
if("0".equals(t.getDefaultMark())){

@ -526,6 +526,10 @@
<if test="orderInfo.ghfEmail != null">
oi.ghf_email = #{orderInfo.ghfEmail,jdbcType=VARCHAR},
</if>
<if test="orderInfo.ghfQylx != null">
oi.ghf_qylx = #{orderInfo.ghfQylx,jdbcType=VARCHAR},
</if>
<if test="orderInfo.ghfMc != null">
op.ghf_mc = #{orderInfo.ghfMc,jdbcType=VARCHAR},

Loading…
Cancel
Save