|
|
@ -535,9 +535,13 @@ public class AsBusrepairBillService extends MybatisBaseService<AsBusrepairBillMa |
|
|
|
List<String> partsSellers = goodsVo.getPartsSellers(); |
|
|
|
if (!partsSellersSids.isEmpty()) { |
|
|
|
goods.setPartsSellersSid(String.join(",", partsSellersSids)); |
|
|
|
} else { |
|
|
|
goods.setPartsSellersSid(""); |
|
|
|
} |
|
|
|
if (!partsSellers.isEmpty()) { |
|
|
|
goods.setPartsSellers(String.join(",", partsSellers)); |
|
|
|
} else { |
|
|
|
goods.setPartsSellers(""); |
|
|
|
} |
|
|
|
asBusrepairInventorybillDetailService.updateById(goods); |
|
|
|
} |
|
|
@ -2100,6 +2104,7 @@ public class AsBusrepairBillService extends MybatisBaseService<AsBusrepairBillMa |
|
|
|
public PagerVo<GoodsReceiveVo> notConfirmList(PagerQuery<GoodsReceiveQuery> pagerQuery) { |
|
|
|
GoodsReceiveQuery query = pagerQuery.getParams(); |
|
|
|
QueryWrapper<AsBusrepairBill> qw = new QueryWrapper<>(); |
|
|
|
String userSid = query.getUserSid(); |
|
|
|
if (query != null) { |
|
|
|
//工单编号
|
|
|
|
if (StringUtils.isNotBlank(query.getUserSid())) { |
|
|
@ -2121,7 +2126,7 @@ public class AsBusrepairBillService extends MybatisBaseService<AsBusrepairBillMa |
|
|
|
for (GoodsReceiveVo record : records) { |
|
|
|
if (null != record) { |
|
|
|
if (StringUtils.isNotBlank(record.getSid())) { |
|
|
|
List<GoodsReceiveListVo> list = baseMapper.selGoodsReceiveByBillSid(record.getSid()); |
|
|
|
List<GoodsReceiveListVo> list = baseMapper.selGoodsReceiveByBillSid(record.getSid(),userSid); |
|
|
|
if (!list.isEmpty()) { |
|
|
|
record.setList(list); |
|
|
|
} |
|
|
|