|
|
@@ -24,6 +24,7 @@ import com.goafanti.expenseAccount.Enums.EATypes;
|
|
|
import com.goafanti.expenseAccount.Enums.EAsecondaryTypes;
|
|
|
import com.goafanti.expenseAccount.bo.*;
|
|
|
import com.goafanti.expenseAccount.service.ExpenseAccountService;
|
|
|
+import com.goafanti.order.service.OrderNewService;
|
|
|
import com.goafanti.organization.bo.OrganizationListOut;
|
|
|
import com.itextpdf.text.Document;
|
|
|
import com.itextpdf.text.DocumentException;
|
|
|
@@ -82,6 +83,8 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
private ExpenseConfigDetailsMapper expenseConfigDetailsMapper;
|
|
|
@Autowired
|
|
|
private TOrderPublicReleaseCountMapper tOrderPublicReleaseCountMapper;
|
|
|
+ @Autowired
|
|
|
+ private OrderNewService orderNewService;
|
|
|
|
|
|
|
|
|
|
|
|
@@ -463,6 +466,14 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void pushExpenseTotalAmount() {
|
|
|
+ List<TOrderNew> tOrderNews = orderNewService.selectGetAll();
|
|
|
+ for (TOrderNew e : tOrderNews) {
|
|
|
+ orderNewService.pushOrderPublicReleaseCount(e.getOrderNo());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
public void pushMainExpenseExport(MainExpenseAccount mainExpenseAccount,HttpServletResponse response, String uploadPath) {
|
|
|
String title = "报销明细表";
|
|
|
String attName = String.format("报销明细表_%s.pdf",new Date().getTime());
|