| | |
| | | import com.itextpdf.text.Paragraph; |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.framework.config.MatchUtils; |
| | | import com.ltkj.hosp.domain.DictHosp; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | | import com.ltkj.hosp.domain.TjOrder; |
| | | import com.ltkj.hosp.domain.TjOrderYcxm; |
| | | import com.ltkj.framework.config.UserHoder; |
| | | import com.ltkj.hosp.domain.*; |
| | | import com.ltkj.hosp.mapper.TjCustomerMapper; |
| | | import com.ltkj.hosp.service.*; |
| | | import com.ltkj.hosp.vodomain.ShenGaoTiZhongVo; |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | // @PostMapping("/wx/bindPhoneV2") |
| | | // public AjaxResult bindPhoneV2(@RequestBody String json) { |
| | | // cn.hutool.json.JSONObject entries = JSONUtil.parseObj(json); |
| | | // String phone = entries.getStr("phone"); |
| | | // Wxuser wxuser = UserHoder.getWxuser(); |
| | | // LambdaQueryWrapper<Wxuser> wq = new LambdaQueryWrapper<>(); |
| | | // wq.eq(Wxuser::getOpenid, wxuser.getOpenid()); |
| | | // Wxuser one = wxuserService.getOne(wq); |
| | | // System.out.println("绑定 ->"+wxuser.getOpenid()+",json = "+json); |
| | | // if (one != null){ |
| | | // one.setPhone(phone); |
| | | // wxuserService.updateById(one); |
| | | // return AjaxResult.success(); |
| | | // } |
| | | // return AjaxResult.error(); |
| | | // } |
| | | |
| | | public static void removeNullFields(JSONObject jsonObject) { |
| | | ArrayList<String> strings = new ArrayList<>(); |
| | | strings.add("orderId"); |