|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
package org.springblade.wms.service.impl; |
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
import jakarta.annotation.Resource; |
|
|
|
|
@ -20,6 +19,7 @@ import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
import org.springframework.util.CollectionUtils; |
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @version 1.0 |
|
|
|
|
@ -117,12 +117,18 @@ public class StAllotRecordServiceImpl extends BaseServiceImpl<StAllotRecordMappe |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @Override
|
|
|
|
|
// public List<StAllotRecordExcel> exportStAllotRecord(Wrapper<StAllotRecord> queryWrapper) {
|
|
|
|
|
// List<StAllotRecordExcel> stAllotRecordList = baseMapper.exportStAllotRecord(queryWrapper);
|
|
|
|
|
// //stAllotRecordList.forEach(stAllotRecord -> {
|
|
|
|
|
// // stAllotRecord.setTypeName(DictCache.getValue(DictEnum.YES_NO, StAllotRecord.getType()));
|
|
|
|
|
// //});
|
|
|
|
|
// return stAllotRecordList;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<StAllotRecordExcel> exportStAllotRecord(Wrapper<StAllotRecord> queryWrapper) { |
|
|
|
|
List<StAllotRecordExcel> stAllotRecordList = baseMapper.exportStAllotRecord(queryWrapper); |
|
|
|
|
//stAllotRecordList.forEach(stAllotRecord -> {
|
|
|
|
|
// stAllotRecord.setTypeName(DictCache.getValue(DictEnum.YES_NO, StAllotRecord.getType()));
|
|
|
|
|
//});
|
|
|
|
|
public List<StAllotRecordExcel> exportStAllotRecord(Map<String, Object> stAllotRecord) { |
|
|
|
|
List<StAllotRecordExcel> stAllotRecordList = baseMapper.exportStAllotRecord(stAllotRecord); |
|
|
|
|
return stAllotRecordList; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|