修改发货数据状态

This commit is contained in:
haozq 2026-02-06 16:17:28 +08:00
parent c2da457c39
commit 79c7ded08b
2 changed files with 9 additions and 5 deletions

View File

@ -71,7 +71,6 @@ public class PurchaseController {
public PageInfo<PurchaseVo> getProPurchaseList(EncryptedReq<PurchaseVo> dto) {
PageHelper.startPage(dto.getPageNum(), dto.getPageSize());
List<PurchaseVo> list = service.getProPurchaseList(dto.getData());
;
return new PageInfo<>(list);
}

View File

@ -233,10 +233,15 @@
where spa.id=#{id}
</select>
<select id="getOutApplyDetailsList" resultType="com.bonus.aqgqj.business.backstage.entity.OutPlanVoDetails">
select id detailId,apply_id planId ,model_id modelid,need_num needNum,
need_day needDay,type,`name`,model,unit,lk_num lkNum
from st_plan_details
where apply_id=#{id}
select spd.id detailId,spd.apply_id planId ,spd.model_id modelid,spd.need_num needNum,
spd.need_day needDay,spd.type,spd.`name`,model,spd.unit,outDetail.lk_num lkNum
from st_plan_details spd
left join(
SELECT cg_num,lk_num ,plan_detail_id,spod.model_id
from st_plan_out_details spod
GROUP BY plan_detail_id,spod.model_id
)outDetail on outDetail.plan_detail_id=spd.apply_id AND outDetail.model_id=spd.model_id
where spd.apply_id=#{id}
</select>
<select id="getPurchaseDetails" resultType="com.bonus.aqgqj.business.backstage.entity.OutPlanVo">