|
@ -1365,6 +1365,7 @@ public class DoorOrderService {
|
|
|
* @param level
|
|
|
* @return
|
|
|
*/
|
|
|
@Transactional
|
|
|
public WlyyDoorServiceOrderDO savePatientSignOrCertificate(String orderId, Integer finishWay, String finishImg, Integer level) throws Exception {
|
|
|
WlyyDoorServiceOrderDO one = doorServiceOrderDao.findById(orderId).orElse(null);
|
|
|
one.setPatientConfirmFinishWay(finishWay);
|
|
@ -1381,12 +1382,9 @@ public class DoorOrderService {
|
|
|
// one.setTotalFee(cashPrice);
|
|
|
doorServiceOrderDao.save(one);
|
|
|
|
|
|
//
|
|
|
String planId = one.getPlanId();//计划id
|
|
|
String planItemDetailId = one.getPlanItemDetailId();//计划服务项id
|
|
|
Date date = new Date();
|
|
|
//更新计划状态为完成
|
|
|
serviceItemPlanDao.updateState(planId, planItemDetailId, date);
|
|
|
serviceItemPlanDao.updateState(one.getRelationCode(), date);
|
|
|
|
|
|
WlyyDoorServiceOrderDO doorServiceOrderDO = this.getDoorServiceOrderById(orderId, level);
|
|
|
|