|
@ -771,7 +771,8 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines
|
|
|
//同步his写入自取信息
|
|
|
String updatesql = "update v_ms_dd01 t set t.PSFS = 0 ,t.FKZT=1 ,t.SJR= '"+wlyyPrescriptionExpressageDO.getName()+"' ," +
|
|
|
" t.SJRDH = '"+wlyyPrescriptionExpressageDO.getMobile()+"' ,"+
|
|
|
" t.SJRDZ = '"+wlyyPrescriptionExpressageDO.getAddress()+"'"+
|
|
|
" t.SJRDZ = '"+wlyyPrescriptionExpressageDO.getAddress()+"' ,"+
|
|
|
" t.YFSB = '"+wlyyPrescriptionExpressageDO.getHospitalCode()+"'"+
|
|
|
" where t.JZXH = '"+wlyyPrescriptionDO.getAdmNo()+"' and t.CFSB ='"+wlyyPrescriptionDO.getRealOrder()+"'";
|
|
|
ykyyEntranceService.updateHisStatus(updatesql);
|
|
|
logger.info("自取写入更新his");
|
|
@ -790,7 +791,7 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines
|
|
|
JSONObject json = JSONObject.parseObject(sfResult.toString());
|
|
|
String sfOrder = json.getString("mailNo");
|
|
|
logger.info("---获取订单号为:"+sfOrder);
|
|
|
String updatesql = "update v_ms_dd01 t set t.PSFS = 1 ,t.FKZT=1 ,t.KDDH ='"+sfOrder+"',t.SJR = '"+wlyyPrescriptionExpressageDO.getName()+"' ," +
|
|
|
String updatesql = "update v_ms_dd01 t set t.PSFS = 1 ,t.FKZT=1 ,t.YFSB = 6 ,t.KDDH ='"+sfOrder+"',t.SJR = '"+wlyyPrescriptionExpressageDO.getName()+"' ," +
|
|
|
" t.SJRDH = '"+wlyyPrescriptionExpressageDO.getMobile()+"' ,"+
|
|
|
" t.SJRDZ = '"+wlyyPrescriptionExpressageDO.getAddress()+"'"+
|
|
|
" where t.JZXH = '"+admNo+"' and t.CFSB ='"+realOrder+"'";
|