Browse Source

1.修改订单自编号的字段

dev-warehouse
pref_mail@163.com 1 year ago
parent
commit
34cee9fbdd
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.java
  2. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml
  3. 1
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/wrapper/DistributionParcelListWrapper.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.java

@ -58,7 +58,7 @@ public interface DistributionStockArticleMapper extends BaseMapper<DistributionS
void submitHandQuantity(@Param("allNum") Integer allNum,@Param("articleId") Long articleId); void submitHandQuantity(@Param("allNum") Integer allNum,@Param("articleId") Long articleId);
List<DistributionStockArticleEntity> likeOrderSelfNumbering(@Param("orderSelfNumbering") String orderSelfNumbering); List<DistributionStockArticleEntity> likeOrderSelfNumbering(@Param("orderCode") String orderCode);
/** /**

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml

@ -81,8 +81,8 @@
) )
and and
ldsa.is_deleted = 0 and ldsa.type_service ='2' ldsa.is_deleted = 0 and ldsa.type_service ='2'
<if test="distributionStockArticleVO.orderSelfNumbering!=null and distributionStockArticleVO.orderSelfNumbering !=''"> <if test="distributionStockArticleVO.orderCode!=null and distributionStockArticleVO.orderCode !=''">
and ldsa.order_self_numbering == #{distributionStockArticleVO.orderSelfNumbering} and ldsa.order_code == #{distributionStockArticleVO.orderCode}
</if> </if>
<!-- 条件没有写完 --> <!-- 条件没有写完 -->
</select> </select>

1
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/wrapper/DistributionParcelListWrapper.java

@ -25,7 +25,6 @@ public class DistributionParcelListWrapper extends BaseEntityWrapper<Distributio
public DistributionParcelListVO entityVO(DistributionParcelListEntity entity) { public DistributionParcelListVO entityVO(DistributionParcelListEntity entity) {
DistributionParcelListVO parcelListVO = Objects.requireNonNull(BeanUtil.copy(entity,DistributionParcelListVO.class)); DistributionParcelListVO parcelListVO = Objects.requireNonNull(BeanUtil.copy(entity,DistributionParcelListVO.class));
parcelListVO.setOrderPackageStatusName(DictBizCache.getValue(DictBizConstant.ORDER_PACKAGE_STATUS, entity.getOrderPackageStatus())); parcelListVO.setOrderPackageStatusName(DictBizCache.getValue(DictBizConstant.ORDER_PACKAGE_STATUS, entity.getOrderPackageStatus()));
parcelListVO.setOrderPackageFreezeStatusName(DictBizCache.getValue(DictBizConstant.ORDER_PACKAGE_FREEZE_STATUS, entity.getOrderPackageFreezeStatus())); parcelListVO.setOrderPackageFreezeStatusName(DictBizCache.getValue(DictBizConstant.ORDER_PACKAGE_FREEZE_STATUS, entity.getOrderPackageFreezeStatus()));
return parcelListVO; return parcelListVO;

Loading…
Cancel
Save