小程序:一体化照护方案/照护记录
This commit is contained in:
parent
86bfdf6e9c
commit
afe2c41262
@ -37,7 +37,7 @@ public class SchemaController {
|
|||||||
**/
|
**/
|
||||||
@ApiOperation("照护方案列表")
|
@ApiOperation("照护方案列表")
|
||||||
@GetMapping("/schema/list")
|
@GetMapping("/schema/list")
|
||||||
public AjaxResult schemaList(String identity, String year, Integer pageNum, Integer pageSize, @RequestHeader("regionKey") String regionKey) {
|
public AjaxResult schemaList(String identity, String year, Integer pageNum, Integer pageSize) {
|
||||||
StringBuffer params = new StringBuffer();
|
StringBuffer params = new StringBuffer();
|
||||||
params.append("?identity=").append(identity);
|
params.append("?identity=").append(identity);
|
||||||
if (!StringUtils.isBlank(year)) {
|
if (!StringUtils.isBlank(year)) {
|
||||||
@ -67,7 +67,7 @@ public class SchemaController {
|
|||||||
**/
|
**/
|
||||||
@ApiOperation("照护记录列表")
|
@ApiOperation("照护记录列表")
|
||||||
@GetMapping("/per/list")
|
@GetMapping("/per/list")
|
||||||
public AjaxResult perList(String identity, String year, Integer pageNum, Integer pageSize, @RequestHeader("regionKey") String regionKey) {
|
public AjaxResult perList(String identity, String year, Integer pageNum, Integer pageSize) {
|
||||||
StringBuffer params = new StringBuffer();
|
StringBuffer params = new StringBuffer();
|
||||||
params.append("?identity=").append(identity);
|
params.append("?identity=").append(identity);
|
||||||
if (!StringUtils.isBlank(year)) {
|
if (!StringUtils.isBlank(year)) {
|
||||||
@ -97,7 +97,7 @@ public class SchemaController {
|
|||||||
**/
|
**/
|
||||||
@ApiOperation("照护记录详情")
|
@ApiOperation("照护记录详情")
|
||||||
@GetMapping("/per/detail/{perRecordId}")
|
@GetMapping("/per/detail/{perRecordId}")
|
||||||
public AjaxResult detail(@PathVariable String perRecordId, @RequestHeader("regionKey") String regionKey) {
|
public AjaxResult detail(@PathVariable String perRecordId) {
|
||||||
String result = (String) httpService.get(thUrl + "/fdmp/per/detail/" + perRecordId, null, String.class);
|
String result = (String) httpService.get(thUrl + "/fdmp/per/detail/" + perRecordId, null, String.class);
|
||||||
JSONObject jsonObject = JSONObject.parseObject(result);
|
JSONObject jsonObject = JSONObject.parseObject(result);
|
||||||
if (!"200".equals(jsonObject.get("code").toString())) {
|
if (!"200".equals(jsonObject.get("code").toString())) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user