记得上下班打卡 | git大法好,push需谨慎

Commit eaa8d84f authored by 胡佳晨's avatar 胡佳晨

提交 参加的商铺列表

parent d5877bd9
...@@ -113,7 +113,7 @@ public class GoblinZhengzaiMarketServiceImpl implements IGoblinZhengzaiMarketSer ...@@ -113,7 +113,7 @@ public class GoblinZhengzaiMarketServiceImpl implements IGoblinZhengzaiMarketSer
} }
@Override @Override
public ResponseDto<String> zhengzaiInsert(String purchaseName,String performanceId, String st, String et) { public ResponseDto<String> zhengzaiInsert(String purchaseName, String performanceId, String st, String et) {
GoblinSelfMarketing selfMarketing = GoblinSelfMarketing.getNew(); GoblinSelfMarketing selfMarketing = GoblinSelfMarketing.getNew();
String SelfMarketId = IDGenerator.nextTimeId2(); String SelfMarketId = IDGenerator.nextTimeId2();
selfMarketing.setSelfMarketId(SelfMarketId); selfMarketing.setSelfMarketId(SelfMarketId);
...@@ -197,6 +197,9 @@ public class GoblinZhengzaiMarketServiceImpl implements IGoblinZhengzaiMarketSer ...@@ -197,6 +197,9 @@ public class GoblinZhengzaiMarketServiceImpl implements IGoblinZhengzaiMarketSer
entity.setSelfMarketId(marketId); entity.setSelfMarketId(marketId);
entity.setStoreId(storeId); entity.setStoreId(storeId);
entity.setShowTime(LocalDateTime.parse(showTime, DTF_YMD_HMS)); entity.setShowTime(LocalDateTime.parse(showTime, DTF_YMD_HMS));
if (goblinRedisUtils.getZhengzaiRelation(storeId).contains(marketId)) {
return ResponseDto.failure("禁止重复添加");
}
//mysql //mysql
goblinMarketingZhengzaiRelationMapper.insert(entity); goblinMarketingZhengzaiRelationMapper.insert(entity);
//mongo //mongo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment