|
@@ -8,6 +8,7 @@ import com.goafanti.common.controller.CertifyApiController;
|
|
|
import com.goafanti.common.error.BusinessException;
|
|
import com.goafanti.common.error.BusinessException;
|
|
|
import com.goafanti.common.utils.StringUtils;
|
|
import com.goafanti.common.utils.StringUtils;
|
|
|
import com.goafanti.common.utils.excel.NewExcelUtil;
|
|
import com.goafanti.common.utils.excel.NewExcelUtil;
|
|
|
|
|
+import com.goafanti.expenseAccount.bo.ExpenseCountsOrder;
|
|
|
import com.goafanti.weChat.bo.*;
|
|
import com.goafanti.weChat.bo.*;
|
|
|
import com.goafanti.weChat.service.PublicReleaseService;
|
|
import com.goafanti.weChat.service.PublicReleaseService;
|
|
|
import org.apache.commons.beanutils.BeanUtils;
|
|
import org.apache.commons.beanutils.BeanUtils;
|
|
@@ -451,6 +452,16 @@ public class AdminReleaseApiController extends CertifyApiController{
|
|
|
return res.data(publicReleaseService.releaseAndExpenseCount(in));
|
|
return res.data(publicReleaseService.releaseAndExpenseCount(in));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 公出&报销表
|
|
|
|
|
+ */
|
|
|
|
|
+ @RequestMapping(value = "/releaseAndExpenseCount/Export",method = RequestMethod.GET)
|
|
|
|
|
+ public Result releaseAndExpenseCountExport (InputreleaseAndExpenseCount in){
|
|
|
|
|
+ List<ExpenseCountsOrder> list = publicReleaseService.releaseAndExpenseCount(in);
|
|
|
|
|
+ NewExcelUtil<ExpenseCountsOrder> excelUtil=new NewExcelUtil<>(ExpenseCountsOrder.class);
|
|
|
|
|
+ return excelUtil.exportExcel(list,"公出&报销表",uploadPath);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|