|
|
@ -2,13 +2,13 @@ package com.hai.service.impl; |
|
|
|
|
|
|
|
|
|
|
|
import com.hai.dao.HighDiscountPackageRecordMapper; |
|
|
|
import com.hai.dao.HighDiscountPackageRecordMapper; |
|
|
|
import com.hai.entity.HighDiscountPackageRecord; |
|
|
|
import com.hai.entity.HighDiscountPackageRecord; |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
import com.hai.entity.HighDiscountPackageRecordExample; |
|
|
|
import com.hai.entity.HighDiscountPackageRecordExample; |
|
|
|
import com.hai.service.HighDiscountPackageRecordService; |
|
|
|
import com.hai.service.HighDiscountPackageRecordService; |
|
|
|
import org.apache.commons.collections4.MapUtils; |
|
|
|
import org.apache.commons.collections4.MapUtils; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
@ -25,6 +25,9 @@ public class HighDiscountPackageRecordServiceImpl implements HighDiscountPackage |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private HighDiscountPackageRecordMapper discountPackageRecordMapper; |
|
|
|
private HighDiscountPackageRecordMapper discountPackageRecordMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private HighDiscountPackageRecordMapper highDiscountPackageRecordMapper; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public List<HighDiscountPackageRecord> getDiscountPackageRecord(Map<String, Object> map) { |
|
|
|
public List<HighDiscountPackageRecord> getDiscountPackageRecord(Map<String, Object> map) { |
|
|
|
|
|
|
|
|
|
|
@ -52,24 +55,12 @@ public class HighDiscountPackageRecordServiceImpl implements HighDiscountPackage |
|
|
|
example.setOrderByClause("created_time"); |
|
|
|
example.setOrderByClause("created_time"); |
|
|
|
|
|
|
|
|
|
|
|
return discountPackageRecordMapper.selectByExample(example); |
|
|
|
return discountPackageRecordMapper.selectByExample(example); |
|
|
|
======= |
|
|
|
} |
|
|
|
import com.hai.service.HighDiscountPackageRecordService; |
|
|
|
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Service("discountPackageRecordService") |
|
|
|
|
|
|
|
public class HighDiscountPackageRecordServiceImpl implements HighDiscountPackageRecordService { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private HighDiscountPackageRecordMapper highDiscountPackageRecordMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void insertRecord(HighDiscountPackageRecord record) { |
|
|
|
public void insertRecord(HighDiscountPackageRecord record) { |
|
|
|
record.setCreatedTime(new Date()); |
|
|
|
record.setCreatedTime(new Date()); |
|
|
|
record.setStatus(1); |
|
|
|
record.setStatus(1); |
|
|
|
highDiscountPackageRecordMapper.insert(record); |
|
|
|
highDiscountPackageRecordMapper.insert(record); |
|
|
|
>>>>>>> c91e5b70c15cdb86ee69f2771ce00208b0bbf4cb |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|