com.macro.mall.model.PmsMemberPrice Java Examples

The following examples show how to use com.macro.mall.model.PmsMemberPrice. 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: PmsDaoTests.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@Test
@Transactional
@Rollback
public void testInsertBatch(){
    List<PmsMemberPrice> list = new ArrayList<>();
    for(int i=0;i<5;i++){
        PmsMemberPrice memberPrice = new PmsMemberPrice();
        memberPrice.setProductId(1L);
        memberPrice.setMemberLevelId((long) (i+1));
        memberPrice.setMemberPrice(new BigDecimal("22"));
        list.add(memberPrice);
    }
    int count = memberPriceDao.insertList(list);
    Assert.assertEquals(5,count);
}
 
Example #2
Source File: PmsDaoTests.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@Test
@Transactional
@Rollback
public void testInsertBatch(){
    List<PmsMemberPrice> list = new ArrayList<>();
    for(int i=0;i<5;i++){
        PmsMemberPrice memberPrice = new PmsMemberPrice();
        memberPrice.setProductId(1L);
        memberPrice.setMemberLevelId((long) (i+1));
        memberPrice.setMemberPrice(new BigDecimal("22"));
        list.add(memberPrice);
    }
    int count = memberPriceDao.insertList(list);
    Assert.assertEquals(5,count);
}
 
Example #3
Source File: PmsDaoTests.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@Test
@Transactional
@Rollback
public void testInsertBatch(){
    List<PmsMemberPrice> list = new ArrayList<>();
    for(int i=0;i<5;i++){
        PmsMemberPrice memberPrice = new PmsMemberPrice();
        memberPrice.setProductId(1L);
        memberPrice.setMemberLevelId((long) (i+1));
        memberPrice.setMemberPrice(new BigDecimal("22"));
        list.add(memberPrice);
    }
    int count = memberPriceDao.insertList(list);
    Assert.assertEquals(5,count);
}
 
Example #4
Source File: PmsDaoTests.java    From mall with Apache License 2.0 5 votes vote down vote up
@Test
@Transactional
@Rollback
public void testInsertBatch(){
    List<PmsMemberPrice> list = new ArrayList<>();
    for(int i=0;i<5;i++){
        PmsMemberPrice memberPrice = new PmsMemberPrice();
        memberPrice.setProductId(1L);
        memberPrice.setMemberLevelId((long) (i+1));
        memberPrice.setMemberPrice(new BigDecimal("22"));
        list.add(memberPrice);
    }
    int count = memberPriceDao.insertList(list);
    Assert.assertEquals(5,count);
}
 
Example #5
Source File: PmsMemberPriceDao.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 批量创建
 */
int insertList(@Param("list") List<PmsMemberPrice> memberPriceList);
 
Example #6
Source File: PmsMemberPriceDao.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 批量创建
 */
int insertList(@Param("list") List<PmsMemberPrice> memberPriceList);
 
Example #7
Source File: PmsMemberPriceMapper.java    From mall with Apache License 2.0 votes vote down vote up
List<PmsMemberPrice> selectByExample(PmsMemberPriceExample example); 
Example #8
Source File: PmsMemberPriceMapper.java    From mall with Apache License 2.0 votes vote down vote up
int insert(PmsMemberPrice record); 
Example #9
Source File: PmsMemberPriceMapper.java    From mall with Apache License 2.0 votes vote down vote up
PmsMemberPrice selectByPrimaryKey(Long id); 
Example #10
Source File: PmsMemberPriceMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); 
Example #11
Source File: PmsMemberPriceMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); 
Example #12
Source File: PmsMemberPriceMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByPrimaryKeySelective(PmsMemberPrice record); 
Example #13
Source File: PmsMemberPriceMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByPrimaryKey(PmsMemberPrice record); 
Example #14
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int insert(PmsMemberPrice record); 
Example #15
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int insertSelective(PmsMemberPrice record); 
Example #16
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
List<PmsMemberPrice> selectByExample(PmsMemberPriceExample example); 
Example #17
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
PmsMemberPrice selectByPrimaryKey(Long id); 
Example #18
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); 
Example #19
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); 
Example #20
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByPrimaryKeySelective(PmsMemberPrice record); 
Example #21
Source File: PmsMemberPriceMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByPrimaryKey(PmsMemberPrice record); 
Example #22
Source File: PmsMemberPriceDao.java    From macrozheng-mall with MIT License votes vote down vote up
int insertList(@Param("list") List<PmsMemberPrice> memberPriceList); 
Example #23
Source File: PmsMemberPriceMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int insertSelective(PmsMemberPrice record); 
Example #24
Source File: PmsMemberPriceMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int insertSelective(PmsMemberPrice record); 
Example #25
Source File: PmsMemberPriceMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
List<PmsMemberPrice> selectByExample(PmsMemberPriceExample example); 
Example #26
Source File: PmsMemberPriceMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
PmsMemberPrice selectByPrimaryKey(Long id); 
Example #27
Source File: PmsMemberPriceMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); 
Example #28
Source File: PmsMemberPriceMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); 
Example #29
Source File: PmsMemberPriceMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByPrimaryKeySelective(PmsMemberPrice record); 
Example #30
Source File: PmsMemberPriceMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByPrimaryKey(PmsMemberPrice record);