厂家管理
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
package com.ifish.controller;
|
||||
|
||||
import com.ifish.bean.Tbl_Factory_List;
|
||||
import com.ifish.bean.Tbl_Payee_Info;
|
||||
import com.ifish.helper.FactoryHelperI;
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -89,7 +90,7 @@ public class Factory {
|
||||
* @param code
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/deleteFactory"}, method = RequestMethod.POST, produces = " text/html;charset=utf-8")
|
||||
@RequestMapping(value = {"/deleteFactory"}, method = RequestMethod.POST, produces = "text/html;charset=utf-8")
|
||||
@ResponseBody
|
||||
public Object deleteFactory(String code) {
|
||||
return factoryHelperI.deleteFactory(code);
|
||||
@@ -111,7 +112,86 @@ public class Factory {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/querylist"}, method = RequestMethod.GET)
|
||||
public ModelAndView querylist() {
|
||||
return factoryHelperI.addFactory();
|
||||
public ModelAndView querylist(String factoryCode, String brandCode, String isblacklist, String createTimeBefore, String createTimeAfter) {
|
||||
return factoryHelperI.querylist(factoryCode, brandCode, isblacklist, createTimeBefore, createTimeAfter);
|
||||
}
|
||||
|
||||
/**
|
||||
* 授权统计查询页
|
||||
*
|
||||
* @param factoryCode
|
||||
* @param createTimeBefore
|
||||
* @param createTimeAfter
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/authorizationQuery"}, method = RequestMethod.GET)
|
||||
public ModelAndView authorizationQuery(String factoryCode, String createTimeBefore, String createTimeAfter) {
|
||||
return factoryHelperI.authorizationQuery(factoryCode, createTimeBefore, createTimeAfter);
|
||||
}
|
||||
|
||||
/**
|
||||
* 账单列表
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/paylist"}, method = RequestMethod.GET)
|
||||
public ModelAndView paylist() {
|
||||
return factoryHelperI.paylist();
|
||||
}
|
||||
|
||||
/**
|
||||
* 账单列表页数据
|
||||
*
|
||||
* @param factoryCode
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/paylistdata"}, method = RequestMethod.POST)
|
||||
@ResponseBody
|
||||
public Object paylistData(String factoryCode, String draw, Integer start, Integer length) {
|
||||
return factoryHelperI.paylistData(factoryCode, draw, start, length);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改账单收费状态
|
||||
*
|
||||
* @param code
|
||||
* @param month
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/changePayStatus"}, method = RequestMethod.POST, produces = "text/html;charset=utf-8")
|
||||
@ResponseBody
|
||||
public Object changePayStatus(String code, String month) {
|
||||
return factoryHelperI.changePayStatus(code, month);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改收款账号信息
|
||||
*
|
||||
* @param tbl_Payee_Info
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/updatePayeeInfo"}, method = RequestMethod.POST, produces = "text/html;charset=utf-8")
|
||||
@ResponseBody
|
||||
public Object updatePayeeInfo(Tbl_Payee_Info tbl_Payee_Info) {
|
||||
return factoryHelperI.updatePayeeInfo(tbl_Payee_Info);
|
||||
}
|
||||
|
||||
/**
|
||||
* 账单详情页面
|
||||
*
|
||||
* @param factoryCode
|
||||
* @param billMonth
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"/paydetail"}, method = RequestMethod.GET)
|
||||
public ModelAndView paydetail(String factoryCode, String billMonth) {
|
||||
return factoryHelperI.paydetail(factoryCode, billMonth);
|
||||
}
|
||||
|
||||
@RequestMapping(value = {"/paydetailDate"}, method = RequestMethod.POST)
|
||||
@ResponseBody
|
||||
public Object paydetailDate(String factoryCode, String billMonth, String draw, Integer start, Integer length) {
|
||||
return factoryHelperI.paydetailDate(factoryCode, billMonth, draw, start, length);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user