| | |
| | | */ |
| | | @RequestMapping("") |
| | | public String index(Model model) { |
| | | return PREFIX + "TCouponExamine.html"; |
| | | return PREFIX + "TCouponExamineList.html"; |
| | | } |
| | | |
| | | |
| | |
| | | ofSearch.setDistributionMethod(distributionMethod); |
| | | ofSearch.setUserPopulation(userPopulation); |
| | | ofSearch.setAuditStatus(auditStatus); |
| | | List<Map<String, Object>> couponExamineListOfSearch = client.getCouponExamineListOfSearch(ofSearch); |
| | | if (couponExamineListOfSearch.size() > 0){ |
| | | for (Map<String, Object> examineListOfSearch : couponExamineListOfSearch) { |
| | | examineListOfSearch.put("province",""); |
| | | examineListOfSearch.put("city",""); |
| | | examineListOfSearch.put("account",""); |
| | | } |
| | | } |
| | | return couponExamineListOfSearch; |
| | | return client.getCouponExamineListOfSearch(ofSearch); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @RequestMapping(value = "/couponOfDetail/{id}") |
| | | @ResponseBody |
| | | public Object detailOfCoupon(@PathVariable Integer id){ |
| | | Map<String,Object> couponMap = client.queryCouponExamineDetail(id); |
| | | return null;// TODO: 2023/7/31 |
| | | public String detailOfCoupon(@PathVariable Integer id, Model model){ |
| | | Map<String, Object> stringObjectMap = client.queryCouponExamineDetail(id); |
| | | model.addAllAttributes(stringObjectMap); |
| | | return PREFIX + "TCouponExamineInfo.html"; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |