|
@@ -17,6 +17,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
import com.zskk.shop.controller.bean.FamilyPeopleBean;
|
|
import com.zskk.shop.controller.bean.FamilyPeopleBean;
|
|
import com.zskk.shop.controller.bean.UserBean;
|
|
import com.zskk.shop.controller.bean.UserBean;
|
|
import com.zskk.shop.dao.FamilyPeopleMapper;
|
|
import com.zskk.shop.dao.FamilyPeopleMapper;
|
|
@@ -162,9 +163,13 @@ public class FamilyPeopleService {
|
|
if (count != 1){
|
|
if (count != 1){
|
|
throw new ZSKKException(ErrorConstant.SERVER_ERROR);
|
|
throw new ZSKKException(ErrorConstant.SERVER_ERROR);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ Map<String, String> extendMap = new HashMap<>();
|
|
|
|
+ extendMap.put("extend", extend);
|
|
|
|
+ extendMap.put("aid", appointment.getId().toString());
|
|
|
|
|
|
//向体检系统 发起体检请求
|
|
//向体检系统 发起体检请求
|
|
- String tjaid = tjCenterService.appointment(people, order, goodService.queryOneGoodBase(item.getGid()), atime, extend);
|
|
|
|
|
|
+ String tjaid = tjCenterService.appointment(people, order, goodService.queryOneGoodBase(item.getGid()), atime, JSON.toJSONString(extendMap));
|
|
appointment.setTjaid(tjaid);
|
|
appointment.setTjaid(tjaid);
|
|
familyPeopleMapper.updateAppointment(appointment);
|
|
familyPeopleMapper.updateAppointment(appointment);
|
|
}
|
|
}
|