소스 검색

fix 修改平台分销去除实物限制

zoujiajian 3 년 전
부모
커밋
768cab812a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-web/src/main/java/com/cyksj/web/controller/manage/distribute/DistributeController.java

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/distribute/DistributeController.java

@@ -199,7 +199,7 @@ public class DistributeController {
 				throw new BusinessRuntimeException("比例错误");
 			}
 			GoodsDon goodsDon = goodsDonMapper.selectById(rate.getGoodsId());
-			if (goodsDon == null || goodsDon.getType() == 2) {
+			if (goodsDon == null || goodsDon.getType() == 3) {
 				throw new BusinessRuntimeException("平台错误");
 			}
 			goodsDon.setRate(rate.getRate());