| | |
| | | import com.stylefeng.guns.modular.system.service.ITDriverService; |
| | | import com.stylefeng.guns.modular.system.service.ITWithdrawalService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.Model; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | /** |
| | | * 提现相关控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/api/withdrawal") |
| | | @Controller |
| | | @RequestMapping("/withdrawal") |
| | | public class TWithdrawalController extends BaseController { |
| | | |
| | | @Autowired |
| | |
| | | @RequestMapping(value = "/list") |
| | | @ResponseBody |
| | | public Object list(String insertTime, |
| | | String receivePaymentName, |
| | | String driverName, |
| | | Integer status) { |
| | | String beginTime = null; |
| | | String endTime = null; |
| | |
| | | endTime = timeArray[1]; |
| | | } |
| | | Page<Map<String, Object>> page = new PageFactory<Map<String, Object>>().defaultPage(); |
| | | page.setRecords(withdrawalService.getWithdrawalList(page,beginTime,endTime,receivePaymentName,status)); |
| | | page.setRecords(withdrawalService.getWithdrawalList(page,beginTime,endTime,driverName,status)); |
| | | return super.packForBT(page); |
| | | } |
| | | |