采运销关联
This commit is contained in:
@ -23,7 +23,7 @@ public interface LngContractSalesPngPointTransMapper extends MPJBaseMapper<LngCo
|
||||
|
||||
@Select("SELECT ksppt.*, su_ys.su_sname AS su_ys_name, kt.k_name AS kt_name " +
|
||||
" FROM lng_contract_sales_png_point_trans ksppt" +
|
||||
" LEFT JOIN lng_contract kt ON kp.id=ksppt.kt_id" +
|
||||
" LEFT JOIN lng_contract kt ON kt.id=ksppt.kt_id" +
|
||||
" LEFT JOIN lng_supplier su_ys ON su_ys.su_code=ksppt.su_code" +
|
||||
" WHERE ksppt.ksppp_id = #{kspppId}")
|
||||
List<LngContractSalesPngPointTransVo> queryLngContractSalesPngPointTransList(@Param("kspppId") Long kspppId);
|
||||
|
||||
@ -43,7 +43,7 @@ public class ContractSalesPngPointServiceImpl extends MPJBaseServiceImpl<LngCont
|
||||
if(cspPointPurVoList != null && cspPointPurVoList.size() >0) {
|
||||
cspPointVo.setLngContractSalesPngPointPurList(cspPointPurVoList);
|
||||
for(LngContractSalesPngPointPurVo cspPointPur:cspPointPurVoList) {
|
||||
List<LngContractSalesPngPointTransVo> cspPointTransVoList = cspPointTransMapper.queryLngContractSalesPngPointTransList(cspPointPur.getKsppId());
|
||||
List<LngContractSalesPngPointTransVo> cspPointTransVoList = cspPointTransMapper.queryLngContractSalesPngPointTransList(cspPointPur.getId());
|
||||
cspPointPur.setLngContractSalesPngPointTransList(cspPointTransVoList);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user