| | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | if(sysAppUser != null){ |
| | | sysInspection.setAppUserId(sysAppUser.getId()); |
| | | sysInspection.setClinicId(sysAppUser.getClinicId()); |
| | | LocalDateTime vipEndTime = sysAppUser.getVipEndTime(); |
| | | if(Objects.nonNull(vipEndTime) && vipEndTime.isAfter(LocalDateTime.now())){ |
| | | sysInspection.setIsPay(1); |
| | | } |
| | | } |
| | | sysInspection.setOutUserId(outUserId); |
| | | sysInspection.setBirthday(birthday); |
| | |
| | | sysInspection.setNickName(nickname); |
| | | // 小程序检测 |
| | | sysInspection.setInspectionType(2); |
| | | sysInspection.setIsPay(0); |
| | | |
| | | // 舌诊信息 |
| | | JSONObject phyTongueInfo = jsonObject.getJSONObject("phyTongueInfo"); |