自动生成终检记录接口增加子项目ID接口字段
This commit is contained in:
parent
21d4abdadb
commit
2066722358
@ -76,7 +76,7 @@ public interface ZjPgMasterService {
|
|||||||
List<ZjPgMasterLineDO> getZjPgMasterLineListByZlPgId(Integer zlPgId);
|
List<ZjPgMasterLineDO> getZjPgMasterLineListByZlPgId(Integer zlPgId);
|
||||||
|
|
||||||
|
|
||||||
Boolean insertZjList(Long task_id,Long project_id);
|
Boolean insertZjList(Long task_id,Long project_id,Long planSubId);
|
||||||
|
|
||||||
List<ZjPgMasterLineDO> searchZXMMx(Long task_id,Long project_id);
|
List<ZjPgMasterLineDO> searchZXMMx(Long task_id,Long project_id);
|
||||||
|
|
||||||
|
@ -69,9 +69,9 @@ public class ZjPgMasterServiceImpl implements ZjPgMasterService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean insertZjList(Long task_id,Long project_id){
|
public Boolean insertZjList(Long task_id,Long project_id,Long planSubId){
|
||||||
//查询BOM明细
|
//查询BOM明细
|
||||||
List<PlanDO> planDOList = planMapper.searchZXMMx(task_id,project_id);
|
List<PlanDO> planDOList = planMapper.searchZXMMx(task_id,project_id,planSubId);
|
||||||
List<ZjPgMasterLineDO> zjPgMasterLineDOList = new ArrayList<>();
|
List<ZjPgMasterLineDO> zjPgMasterLineDOList = new ArrayList<>();
|
||||||
planDOList.forEach( o ->{
|
planDOList.forEach( o ->{
|
||||||
MouldTypeDO mouldTypeDO = mouldTypeMapper.selectById(o.getMouldId());
|
MouldTypeDO mouldTypeDO = mouldTypeMapper.selectById(o.getMouldId());
|
||||||
@ -129,8 +129,9 @@ public class ZjPgMasterServiceImpl implements ZjPgMasterService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ZjPgMasterLineDO> searchZXMMx(Long task_id,Long project_id){
|
public List<ZjPgMasterLineDO> searchZXMMx(Long task_id,Long project_id){
|
||||||
|
long a = 0;
|
||||||
//查询BOM明细
|
//查询BOM明细
|
||||||
List<PlanDO> planDOList = planMapper.searchZXMMx(task_id,project_id);
|
List<PlanDO> planDOList = planMapper.searchZXMMx(task_id,project_id,a);
|
||||||
List<ZjPgMasterLineDO> zjPgMasterLineDOList = new ArrayList<>();
|
List<ZjPgMasterLineDO> zjPgMasterLineDOList = new ArrayList<>();
|
||||||
planDOList.forEach( o ->{
|
planDOList.forEach( o ->{
|
||||||
MouldTypeDO mouldTypeDO = mouldTypeMapper.selectById(o.getMouldId());
|
MouldTypeDO mouldTypeDO = mouldTypeMapper.selectById(o.getMouldId());
|
||||||
|
Loading…
Reference in New Issue
Block a user