|
@@ -5,6 +5,8 @@ import cn.afterturn.easypoi.excel.entity.ExportParams;
|
|
import cn.afterturn.easypoi.excel.entity.enmus.ExcelType;
|
|
import cn.afterturn.easypoi.excel.entity.enmus.ExcelType;
|
|
import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity;
|
|
import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
+import com.ssj.bean.sys.fx.domain.Merchant;
|
|
|
|
+import com.ssj.bean.sys.fx.domain.MerchantMealOrder;
|
|
import com.ssj.bean.sys.homework.domain.HomeworkPicture;
|
|
import com.ssj.bean.sys.homework.domain.HomeworkPicture;
|
|
import com.ssj.bean.sys.picturepredeal.domain.PicturePreDeal;
|
|
import com.ssj.bean.sys.picturepredeal.domain.PicturePreDeal;
|
|
import com.ssj.bean.sys.role.domain.Admin;
|
|
import com.ssj.bean.sys.role.domain.Admin;
|
|
@@ -18,6 +20,8 @@ import com.ssj.refund.bean.RefundInfo;
|
|
import com.ssj.refund.service.IAuditInfoService;
|
|
import com.ssj.refund.service.IAuditInfoService;
|
|
import com.ssj.refund.service.IMerchantRefundService;
|
|
import com.ssj.refund.service.IMerchantRefundService;
|
|
import com.ssj.service.reading.request.RandomBookReq;
|
|
import com.ssj.service.reading.request.RandomBookReq;
|
|
|
|
+import com.ssj.service.sys.fx.service.MerchantMealOrderService;
|
|
|
|
+import com.ssj.service.sys.fx.service.MerchantService;
|
|
import com.ssj.service.sys.fx.service.SysCuratorService;
|
|
import com.ssj.service.sys.fx.service.SysCuratorService;
|
|
import com.ssj.service.sys.homework.service.HomeworkPictureService;
|
|
import com.ssj.service.sys.homework.service.HomeworkPictureService;
|
|
import com.ssj.service.sys.jxy.service.JxyService;
|
|
import com.ssj.service.sys.jxy.service.JxyService;
|
|
@@ -75,6 +79,12 @@ public class ErrorController extends BaseController {
|
|
@Autowired
|
|
@Autowired
|
|
private SysCuratorService sysCuratorService;
|
|
private SysCuratorService sysCuratorService;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private MerchantService merchantService;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private MerchantMealOrderService mealOrderService;
|
|
|
|
+
|
|
@RequestMapping("/errorList")
|
|
@RequestMapping("/errorList")
|
|
public String errorList(Model model,
|
|
public String errorList(Model model,
|
|
@RequestParam(required = false, defaultValue = "10") int pageSize,
|
|
@RequestParam(required = false, defaultValue = "10") int pageSize,
|
|
@@ -317,6 +327,11 @@ public class ErrorController extends BaseController {
|
|
apply.setAuditPoint("财务审核");
|
|
apply.setAuditPoint("财务审核");
|
|
}else{
|
|
}else{
|
|
apply.setAuditState(state);
|
|
apply.setAuditState(state);
|
|
|
|
+ //财务审核通过后,设置学生服务失效
|
|
|
|
+ //查询lib_id
|
|
|
|
+ MerchantMealOrder mealOrder = mealOrderService.getById(apply.getMealOrderId());
|
|
|
|
+ Merchant merchant = merchantService.getById(mealOrder.getMerchantId());
|
|
|
|
+ merchantRefundService.invaldVips(apply.getVipIds(),merchant.getLibId());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
merchantRefundService.save(apply);
|
|
merchantRefundService.save(apply);
|
|
@@ -344,6 +359,7 @@ public class ErrorController extends BaseController {
|
|
Map<String, Object> params = new HashMap<String, Object>();
|
|
Map<String, Object> params = new HashMap<String, Object>();
|
|
//是否显示编辑服务时间 1不显示 2显示
|
|
//是否显示编辑服务时间 1不显示 2显示
|
|
params.put("showEdit",1);
|
|
params.put("showEdit",1);
|
|
|
|
+ params.put("libId",request.getParameter("libId")==null?"":request.getParameter("libId"));
|
|
params.put("stat",request.getParameter("stat")==null?"":request.getParameter("stat"));
|
|
params.put("stat",request.getParameter("stat")==null?"":request.getParameter("stat"));
|
|
params.put("startDate",request.getParameter("startDate")==null?"":request.getParameter("startDate"));
|
|
params.put("startDate",request.getParameter("startDate")==null?"":request.getParameter("startDate"));
|
|
params.put("endDate",request.getParameter("endDate")==null?"":request.getParameter("endDate"));
|
|
params.put("endDate",request.getParameter("endDate")==null?"":request.getParameter("endDate"));
|
|
@@ -352,7 +368,7 @@ public class ErrorController extends BaseController {
|
|
params.put("pageNo",pageNo);
|
|
params.put("pageNo",pageNo);
|
|
String vipIds = request.getParameter("vipIds")==null?"":request.getParameter("vipIds");
|
|
String vipIds = request.getParameter("vipIds")==null?"":request.getParameter("vipIds");
|
|
if(!"".equals(vipIds)){
|
|
if(!"".equals(vipIds)){
|
|
- params.put("vipIds",vipIds.replace("[","").replace("]","").split(","));
|
|
|
|
|
|
+ params.put("vipIds",Arrays.asList(vipIds.replace("[","").replace("]","").split(",")));
|
|
}
|
|
}
|
|
|
|
|
|
String classId = request.getParameter("classId")==null?"":request.getParameter("classId");
|
|
String classId = request.getParameter("classId")==null?"":request.getParameter("classId");
|