Commit 4980d8b4cc5dccd3dfde468323993266d93cfb78

Authored by liquanyu
1 parent 7656ff94a8

update code

Showing 2 changed files with 4 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/CouponPrintController.java View file @ 4980d8b
... ... @@ -275,8 +275,7 @@
275 275  
276 276 }
277 277 System.out.println(model.toString());
278   - //String result = HospitalCouponPrintUtils.qhdCouponUse(model);
279   - String result= "0";
  278 + String result = HospitalCouponPrintUtils.qhdCouponUse(model);
280 279 System.out.print(result);
281 280 if("0".equals(result)){
282 281 int count = couponService.updateCouponStatus(param);
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/HospitalCouponPrintUtils.java View file @ 4980d8b
... ... @@ -104,7 +104,9 @@
104 104 */
105 105 public static String qhdCouponUse(QhdDjq model){
106 106 String json = JsonUtil.obj2Str(model);
107   - String result = HttpClientUtil.doPost("http://localhost:9090/his/insertQhdfycjDjq", json, "utf-8");
  107 + System.out.println(json);
  108 + String result = "0";
  109 + //String result = HttpClientUtil.doPost("http://localhost:9090/his/insertQhdfycjDjq", json, "utf-8");
108 110 System.out.println("result= "+result);
109 111 return result;
110 112 }