|
@@ -2,6 +2,7 @@ package org.jeecg.modules.cost.service.impl;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.Query;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import org.apache.poi.ss.formula.functions.T;
|
|
@@ -415,7 +416,9 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
|
|
|
|
|
|
@Override
|
|
|
public List<SyCostJson> queryByCostJson(String planNum, Integer pageStart, Integer pageEnd) {
|
|
|
- return syCostAllocationMapper.queryByCostJson(planNum, pageStart, pageEnd);
|
|
|
+ QueryWrapper<SyCostJson> queryWrapper = new QueryWrapper<>();
|
|
|
+ queryWrapper.eq("plan_num", planNum);
|
|
|
+ return syCostJsonMapper.selectList(queryWrapper);
|
|
|
}
|
|
|
|
|
|
//用单据号查询对应面损成本单价
|