pc端科室人员代码格式化
This commit is contained in:
parent
637e0ddfd5
commit
8000fbc1a1
@ -47,9 +47,9 @@ public class ResidentPatientInfoController extends BaseController {
|
||||
@ApiOperation("注册完善信息")
|
||||
@PostMapping("")
|
||||
public R<String> register(@Validated @RequestBody PatientInfoBody body) {
|
||||
if(body.getDiseaseList() == null || body.getDiseaseList().size() == 0) {
|
||||
/*if(body.getDiseaseList() == null || body.getDiseaseList().size() == 0) {
|
||||
return R.fail("请选择基础疾病");
|
||||
}
|
||||
}*/
|
||||
try {
|
||||
residentPatientInfoService.register(body);
|
||||
return R.ok();
|
||||
|
||||
@ -183,6 +183,7 @@ public class NurseAppLoginServiceImpl implements NurseAppLoginService {
|
||||
}
|
||||
if (Objects.nonNull(patientDisease) && StringUtils.isNotBlank(patientDisease.getAreaCode())) {
|
||||
SysAreaVO codeName = sysAreaMapper.getSubordinateRegionsFindSuperiorRegions(patientDisease.getAreaCode());
|
||||
if (Objects.nonNull(codeName)) {
|
||||
String provinceName = StringUtils.isBlank(codeName.getProvinceName()) ? "" : codeName.getProvinceName();
|
||||
String cityName = StringUtils.isBlank(codeName.getCityName()) ? "" : codeName.getCityName();
|
||||
String regionName = StringUtils.isBlank(codeName.getRegionName()) ? "" : codeName.getRegionName();
|
||||
@ -191,6 +192,9 @@ public class NurseAppLoginServiceImpl implements NurseAppLoginService {
|
||||
} else {
|
||||
patientDisease.setAreaName("");
|
||||
}
|
||||
} else {
|
||||
patientDisease.setAreaName("");
|
||||
}
|
||||
//查询所有商品订单
|
||||
List<GoodsOrder> goodsOrders = nurseAppLoginMapper.selectGoodsOrderListByPatient(patientId);
|
||||
if (CollectionUtils.isEmpty(goodsOrders)) {
|
||||
|
||||
@ -15,19 +15,13 @@ import com.xinelu.manage.service.hospitalpersoninfo.IHospitalPersonInfoService;
|
||||
import com.xinelu.manage.vo.hospitalpersoninfo.HospitalPersonInfoVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
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 javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 健康咨询-科室人员信息Controller
|
||||
@ -112,7 +106,6 @@ public class HospitalPersonInfoController extends BaseController {
|
||||
|
||||
/**
|
||||
* 修改健康咨询-科室人员信息
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/update")
|
||||
public AjaxResult update(@RequestBody HospitalPersonInfoDtoo hospitalPersonInfo) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user