This commit is contained in:
haozq 2024-11-11 17:36:28 +08:00
parent 3f404d58fd
commit 237002d479
3 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,10 @@
package com.bonus.gzgqj.business.bases.mapper;
import com.bonus.gzgqj.business.bases.entity.PaTypeVo;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* 类型接口层
* @author 黑子
@ -9,4 +12,10 @@ import org.springframework.stereotype.Repository;
@Repository
public interface PaTypeMapper {
/**
* JICHU1
* @param data
* @return
*/
List<PaTypeVo> getTypeList(PaTypeVo data);
}

View File

@ -29,7 +29,7 @@ public class PaTypeServiceImpl implements PaTypeService{
public ServerResponse getTypeList(PaTypeVo data) {
List<PaTypeVo> list=new ArrayList<>();
try{
list=mapper.getTypeList(data);
}catch (Exception e){
log.error(e.toString(),e);
}

View File

@ -257,7 +257,7 @@ public class PlanOutServiceImpl implements PlanOutService{
try{
List<StatisticsVo> list=mapper.getStatistics();
StatisticsVo data=mapper.getOverNum();
map.put("neeNum",list.get(0).getNeedNum());
map.put("needNum",list.get(0).getNeedNum());
map.put("dfhNum",list.get(0).getDfhNum());
map.put("fhNum",list.get(0).getFhNum());
map.put("overNum",data.getNum());