zoujiajian 2 år sedan
förälder
incheckning
4ed11aabb7

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/corp/impl/CorpFollowServiceImpl.java

@@ -156,8 +156,8 @@ public class CorpFollowServiceImpl implements CorpFollowService {
 		} else if (isUpdateAcCode) {
 			corpFollowDynamicConfigService.updateCorpFollowActiveCode(dbActiveCode.getMarkTag(), activeCode.getMarkTag());
 		}
-		if (activeCode.getCouponId() == null) {
-			activeCode.setCouponId(0l);
+		if (StrUtil.isEmpty(activeCode.getCouponIds())) {
+			activeCode.setCouponIds(null);
 		}
 		if (activeCode.getMsgId() == null) {
 			activeCode.setMsgId(0l);