| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.entity.accept.AdminAcceptData;
|
| | | import org.springframework.stereotype.Controller;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.yeshi.utils.JsonUtil;
|
| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping("query")
|
| | | public void query(String callback, Integer pageIndex, Integer pageSize, String key, Integer state, |
| | | public void query(AdminAcceptData acceptData, String callback, Integer pageIndex, Integer pageSize, String key, Integer state,
|
| | | Integer handleType, Integer type, PrintWriter out) {
|
| | |
|
| | | if (pageIndex == null || pageIndex < 0){
|
| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping("passOrder")
|
| | | public void passOrder(String callback, Long id, PrintWriter out) {
|
| | | public void passOrder(AdminAcceptData acceptData,String callback, Long id, PrintWriter out) {
|
| | |
|
| | | if (id == null) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("ID不能为空"));
|
| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping("rejectOrder")
|
| | | public void rejectOrder(String callback, Long id, String reason, PrintWriter out) {
|
| | | public void rejectOrder(AdminAcceptData acceptData,String callback, Long id, String reason, PrintWriter out) {
|
| | | if (id == null) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("ID不能为空"));
|
| | | return;
|