案例修改、图片预览
This commit is contained in:
		| @@ -81,7 +81,7 @@ public class SysCustomerCaseController extends BaseController | ||||
|     @GetMapping(value = "/{id}") | ||||
|     public AjaxResult getInfo(@PathVariable("id") Long id) | ||||
|     { | ||||
|         return AjaxResult.success(sysCustomerCaseService.selectSysCustomerCaseById(id)); | ||||
|         return AjaxResult.success(sysCustomerCaseService.selectSysCustomerCaseById(id, true)); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
| @@ -134,6 +134,7 @@ public class SysCustomerCaseController extends BaseController | ||||
|             int index = 0; | ||||
|             for (String downUrl : downUrlList) { | ||||
|                 list.get(index).setDownUrl(downUrl); | ||||
|                 index++; | ||||
|             } | ||||
|         } | ||||
|         return getDataTable(list); | ||||
|   | ||||
| @@ -5,14 +5,7 @@ import java.util.List; | ||||
| import com.stdiet.common.utils.StringUtils; | ||||
| import org.springframework.security.access.prepost.PreAuthorize; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.web.bind.annotation.GetMapping; | ||||
| import org.springframework.web.bind.annotation.PostMapping; | ||||
| import org.springframework.web.bind.annotation.PutMapping; | ||||
| import org.springframework.web.bind.annotation.DeleteMapping; | ||||
| import org.springframework.web.bind.annotation.PathVariable; | ||||
| import org.springframework.web.bind.annotation.RequestBody; | ||||
| import org.springframework.web.bind.annotation.RequestMapping; | ||||
| import org.springframework.web.bind.annotation.RestController; | ||||
| import org.springframework.web.bind.annotation.*; | ||||
| import com.stdiet.common.annotation.Log; | ||||
| import com.stdiet.common.core.controller.BaseController; | ||||
| import com.stdiet.common.core.domain.AjaxResult; | ||||
| @@ -40,9 +33,11 @@ public class SysWxSaleAccountController extends BaseController | ||||
|      */ | ||||
|     @PreAuthorize("@ss.hasPermi('custom:wxAccount:list')") | ||||
|     @GetMapping("/list") | ||||
|     public TableDataInfo list(SysWxSaleAccount sysWxSaleAccount) | ||||
|     public TableDataInfo list(SysWxSaleAccount sysWxSaleAccount, @RequestParam(value = "pageFlag", required = false, defaultValue = "true")boolean pageFlag) | ||||
|     { | ||||
|         startPage(); | ||||
|         if(pageFlag){ | ||||
|             startPage(); | ||||
|         } | ||||
|         List<SysWxSaleAccount> list = sysWxSaleAccountService.selectSysWxSaleAccountList(sysWxSaleAccount); | ||||
|         return getDataTable(list); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user