Browse Source

优化积余订餐推送的代码

longmeizhen@avic-s.com 2 years ago
parent
commit
d22b52a5a1

+ 1 - 1
src/main/java/com/palmnest/service/dinner/service/impl/ConsumerUserServiceImpl.java

@@ -367,7 +367,7 @@ public class ConsumerUserServiceImpl implements ConsumerUserService {
 			set = new OrderDinnerSet();
 			set.setUserId(userId);
 			set.setStatus(pushState);
-			orderDinnerSetManager.updateModel(set);
+			orderDinnerSetManager.saveModel(set);
 		}else{
 			set.setStatus(pushState);
 			orderDinnerSetManager.updateModel(set);