| | |
| | | * 单据上报 |
| | | */ |
| | | public Boolean uploadBill(List<BillDto> dtos, Integer docId, String docNumber){ |
| | | if (true) { |
| | | // return true; |
| | | } |
| | | try { |
| | | if (Cools.isEmpty(dtos)) { |
| | | return false; |
| | |
| | | uploadBill.setBTypeID("SHHT"); |
| | | uploadBill.setKTypeID("宏挺仓库"); |
| | | uploadBill.setVchType(docId); |
| | | if (docId == 9) { |
| | | uploadBill.setDifAtype(22); |
| | | } else if (docId == 14) { |
| | | uploadBill.setDifAtype(23); |
| | | } |
| | | uploadBill.setSummary(docType.getDocName() + " - " + DateUtils.convert(new Date(), "yyyy-MM-dd HH:mm")); |
| | | List<UploadBillDetail> detail = new ArrayList<>(); |
| | | uploadBill.setDetail(detail); |