|
|
|
@ -169,8 +169,9 @@ public class ArinvoicesController {
|
|
|
|
|
List<String> poundlistIdList = salesorder_item0Service.listObjs(queryWrapper).stream().map(o -> (String) o).collect(Collectors.toList());
|
|
|
|
|
List<PoundlistEntity> poundlistEntityList = poundlistService.queryPoundListByIds(poundlistIdList);
|
|
|
|
|
for (PoundlistEntity poundlistEntity: poundlistEntityList) {
|
|
|
|
|
poundlistEntity.setIsInvoicing("1");
|
|
|
|
|
poundlistEntity.setInputDate(new Date());
|
|
|
|
|
poundlistEntity.setSalesStatus("2");//修改磅单状态
|
|
|
|
|
poundlistEntity.setIsExpense("1");//修改销项票状态
|
|
|
|
|
poundlistEntity.setOutputDate(new Date());//修改销项票日期
|
|
|
|
|
}
|
|
|
|
|
poundlistService.updateBatchById(poundlistEntityList);
|
|
|
|
|
}else {
|
|
|
|
@ -490,8 +491,8 @@ public class ArinvoicesController {
|
|
|
|
|
List<String> poundlistIdList = salesorder_item0Service.listObjs(queryWrapper3).stream().map(o -> (String) o).collect(Collectors.toList());
|
|
|
|
|
List<PoundlistEntity> poundlistEntityList = poundlistService.queryPoundListByIds(poundlistIdList);
|
|
|
|
|
for (PoundlistEntity poundlistEntity: poundlistEntityList) {
|
|
|
|
|
poundlistEntity.setIsInvoicing("1");
|
|
|
|
|
poundlistEntity.setInputDate(new Date());
|
|
|
|
|
poundlistEntity.setIsExpense("1");//修改销项票状态
|
|
|
|
|
poundlistEntity.setOutputDate(new Date());//修改销项票日期
|
|
|
|
|
}
|
|
|
|
|
poundlistService.updateBatchById(poundlistEntityList);
|
|
|
|
|
}else {
|
|
|
|
|