提交 ddd838fd authored 作者: 窦馨雨's avatar 窦馨雨

合并分支 'dxy' 到 'qa'

CP计划小程序改造,修改下班判断 查看合并请求 !91
......@@ -154,9 +154,9 @@ public class TemporaryActivityCoreController {
throw new DataException(RCode.NOT_GFQ_PHOTO_ERROR);
} else if (CollectionUtils.isEmpty(activityReportedDto.getScbbwlPhotoInfos()) ){
throw new DataException(RCode.NOT_SCBBWL_PHOTO_ERROR);
}else if (StringUtils.isBlank(activityReportedDto.getHasBlackDuckFlavor())){
}else if ("是".equals(activityReportedDto.getHasBlackDuckFlavor()) &&StringUtils.isBlank(activityReportedDto.getHasBlackDuckFlavor())){
throw new DataException(RCode.NOT_BLACK_DUCK_FLAVOR_ERROR);
}else if (activityReportedDto.getBlackDuckTastingNum() == null || activityReportedDto.getBlackDuckTastingNum() == 0 ){
}else if ("是".equals(activityReportedDto.getHasBlackDuckFlavor()) &&activityReportedDto.getBlackDuckTastingNum() == null || activityReportedDto.getBlackDuckTastingNum() == 0 ){
throw new DataException(RCode.NOT_BLACK_DUCK_TASTING_NUM_ERROR);
}else if (activityReportedDto.getBraisedTastingNum() == null ){
throw new DataException(RCode.NOT_BRAISED_TASTING_NUM_ERROR);
......@@ -164,7 +164,7 @@ public class TemporaryActivityCoreController {
throw new DataException(RCode.NOT_GIFT_NUM_ERROR);
}else if (activityReportedDto.getPromotionSales() == null ||(1== BigDecimal.ZERO.compareTo(activityReportedDto.getPromotionSales()))){
throw new DataException(RCode.NOT_PROMOTION_SALES_ERROR);
}else if (activityReportedDto.getBlackDuckSales() == null ){
}else if ("是".equals(activityReportedDto.getHasBlackDuckFlavor()) && activityReportedDto.getBlackDuckSales() == null ){
throw new DataException(RCode.NOT_BLACK_DUCK_SALES_ERROR);
}else if (activityReportedDto.getGiftBoxSales() == null ){
throw new DataException(RCode.NOT_GIFT_SALES_ERROR);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论