com.macro.mall.model.SmsFlashPromotionSessionExample Java Examples
The following examples show how to use
com.macro.mall.model.SmsFlashPromotionSessionExample.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SmsFlashPromotionSessionServiceImpl.java From macrozheng-mall with MIT License | 5 votes |
@Override public List<SmsFlashPromotionSessionDetail> selectList(Long flashPromotionId) { List<SmsFlashPromotionSessionDetail> result = new ArrayList<>(); SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); example.createCriteria().andStatusEqualTo(1); List<SmsFlashPromotionSession> list = promotionSessionMapper.selectByExample(example); for (SmsFlashPromotionSession promotionSession : list) { SmsFlashPromotionSessionDetail detail = new SmsFlashPromotionSessionDetail(); BeanUtils.copyProperties(promotionSession, detail); int count = relationService.getCount(flashPromotionId, promotionSession.getId()); detail.setProductCount(count); result.add(detail); } return result; }
Example #2
Source File: SmsFlashPromotionSessionServiceImpl.java From mall-swarm with Apache License 2.0 | 5 votes |
@Override public List<SmsFlashPromotionSessionDetail> selectList(Long flashPromotionId) { List<SmsFlashPromotionSessionDetail> result = new ArrayList<>(); SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); example.createCriteria().andStatusEqualTo(1); List<SmsFlashPromotionSession> list = promotionSessionMapper.selectByExample(example); for (SmsFlashPromotionSession promotionSession : list) { SmsFlashPromotionSessionDetail detail = new SmsFlashPromotionSessionDetail(); BeanUtils.copyProperties(promotionSession, detail); long count = relationService.getCount(flashPromotionId, promotionSession.getId()); detail.setProductCount(count); result.add(detail); } return result; }
Example #3
Source File: SmsFlashPromotionSessionServiceImpl.java From mall with Apache License 2.0 | 5 votes |
@Override public List<SmsFlashPromotionSessionDetail> selectList(Long flashPromotionId) { List<SmsFlashPromotionSessionDetail> result = new ArrayList<>(); SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); example.createCriteria().andStatusEqualTo(1); List<SmsFlashPromotionSession> list = promotionSessionMapper.selectByExample(example); for (SmsFlashPromotionSession promotionSession : list) { SmsFlashPromotionSessionDetail detail = new SmsFlashPromotionSessionDetail(); BeanUtils.copyProperties(promotionSession, detail); long count = relationService.getCount(flashPromotionId, promotionSession.getId()); detail.setProductCount(count); result.add(detail); } return result; }
Example #4
Source File: SmsFlashPromotionSessionServiceImpl.java From macrozheng with Apache License 2.0 | 5 votes |
@Override public List<SmsFlashPromotionSessionDetail> selectList(Long flashPromotionId) { List<SmsFlashPromotionSessionDetail> result = new ArrayList<>(); SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); example.createCriteria().andStatusEqualTo(1); List<SmsFlashPromotionSession> list = promotionSessionMapper.selectByExample(example); for (SmsFlashPromotionSession promotionSession : list) { SmsFlashPromotionSessionDetail detail = new SmsFlashPromotionSessionDetail(); BeanUtils.copyProperties(promotionSession, detail); int count = relationService.getCount(flashPromotionId, promotionSession.getId()); detail.setProductCount(count); result.add(detail); } return result; }
Example #5
Source File: SmsFlashPromotionSessionServiceImpl.java From macrozheng-mall with MIT License | 4 votes |
@Override public List<SmsFlashPromotionSession> list() { SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); return promotionSessionMapper.selectByExample(example); }
Example #6
Source File: SmsFlashPromotionSessionServiceImpl.java From mall-swarm with Apache License 2.0 | 4 votes |
@Override public List<SmsFlashPromotionSession> list() { SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); return promotionSessionMapper.selectByExample(example); }
Example #7
Source File: SmsFlashPromotionSessionServiceImpl.java From mall with Apache License 2.0 | 4 votes |
@Override public List<SmsFlashPromotionSession> list() { SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); return promotionSessionMapper.selectByExample(example); }
Example #8
Source File: SmsFlashPromotionSessionServiceImpl.java From macrozheng with Apache License 2.0 | 4 votes |
@Override public List<SmsFlashPromotionSession> list() { SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); return promotionSessionMapper.selectByExample(example); }
Example #9
Source File: SmsFlashPromotionSessionMapper.java From mall with Apache License 2.0 | votes |
long countByExample(SmsFlashPromotionSessionExample example);
Example #10
Source File: SmsFlashPromotionSessionMapper.java From macrozheng-mall with MIT License | votes |
int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #11
Source File: SmsFlashPromotionSessionMapper.java From macrozheng-mall with MIT License | votes |
int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #12
Source File: SmsFlashPromotionSessionMapper.java From macrozheng-mall with MIT License | votes |
List<SmsFlashPromotionSession> selectByExample(SmsFlashPromotionSessionExample example);
Example #13
Source File: SmsFlashPromotionSessionMapper.java From macrozheng-mall with MIT License | votes |
int deleteByExample(SmsFlashPromotionSessionExample example);
Example #14
Source File: SmsFlashPromotionSessionMapper.java From macrozheng-mall with MIT License | votes |
int countByExample(SmsFlashPromotionSessionExample example);
Example #15
Source File: SmsFlashPromotionSessionMapper.java From mall with Apache License 2.0 | votes |
int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #16
Source File: SmsFlashPromotionSessionMapper.java From mall with Apache License 2.0 | votes |
int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #17
Source File: SmsFlashPromotionSessionMapper.java From mall with Apache License 2.0 | votes |
List<SmsFlashPromotionSession> selectByExample(SmsFlashPromotionSessionExample example);
Example #18
Source File: SmsFlashPromotionSessionMapper.java From mall with Apache License 2.0 | votes |
int deleteByExample(SmsFlashPromotionSessionExample example);
Example #19
Source File: SmsFlashPromotionSessionMapper.java From mall-swarm with Apache License 2.0 | votes |
long countByExample(SmsFlashPromotionSessionExample example);
Example #20
Source File: SmsFlashPromotionSessionMapper.java From macrozheng with Apache License 2.0 | votes |
int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #21
Source File: SmsFlashPromotionSessionMapper.java From macrozheng with Apache License 2.0 | votes |
int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #22
Source File: SmsFlashPromotionSessionMapper.java From macrozheng with Apache License 2.0 | votes |
List<SmsFlashPromotionSession> selectByExample(SmsFlashPromotionSessionExample example);
Example #23
Source File: SmsFlashPromotionSessionMapper.java From macrozheng with Apache License 2.0 | votes |
int deleteByExample(SmsFlashPromotionSessionExample example);
Example #24
Source File: SmsFlashPromotionSessionMapper.java From macrozheng with Apache License 2.0 | votes |
int countByExample(SmsFlashPromotionSessionExample example);
Example #25
Source File: SmsFlashPromotionSessionMapper.java From mall-swarm with Apache License 2.0 | votes |
int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #26
Source File: SmsFlashPromotionSessionMapper.java From mall-swarm with Apache License 2.0 | votes |
int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
Example #27
Source File: SmsFlashPromotionSessionMapper.java From mall-swarm with Apache License 2.0 | votes |
List<SmsFlashPromotionSession> selectByExample(SmsFlashPromotionSessionExample example);
Example #28
Source File: SmsFlashPromotionSessionMapper.java From mall-swarm with Apache License 2.0 | votes |
int deleteByExample(SmsFlashPromotionSessionExample example);