This commit is contained in:
parent
3f404d58fd
commit
237002d479
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue