|
@@ -165,6 +165,21 @@ public class TApproveReserveInvoiceController extends BaseController {
|
|
|
// devSupId = "10081";
|
|
|
break;
|
|
|
}
|
|
|
+ if (DateUtils.dateTime(invoice.getCreatedate()).equals(DateUtils.dateTime(invoice.getWorkStartTime()))){
|
|
|
+ tApproveReserveInvoice.setIsToday("1");
|
|
|
+ }else {
|
|
|
+ tApproveReserveInvoice.setIsToday("0");
|
|
|
+ }
|
|
|
+ List<TInvoiceWorkcontent> workcontents = invoiceWorkcontentMapper.selectTInvoiceWorkcontentBybookingticketId(Long.valueOf(invoice.getId()));
|
|
|
+ for (TInvoiceWorkcontent tInvoiceWorkcontent : workcontents) {
|
|
|
+ if (tInvoiceWorkcontent.getWorkType()==1L||tInvoiceWorkcontent.getWorkType()==15L){
|
|
|
+ tApproveReserveInvoice.setIsSpecial("1");
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ tApproveReserveInvoice.setIsSpecial("0");
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
//开始工作流、监听
|
|
|
Authentication.setAuthenticatedUserId(applyUser);
|