|
@@ -57,7 +57,7 @@ import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
/**
|
|
|
* 用户信息采集Service业务层处理
|
|
|
- *
|
|
|
+ *
|
|
|
* @author fs
|
|
|
* @date 2025-10-14
|
|
|
*/
|
|
@@ -105,7 +105,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
|
|
|
/**
|
|
|
* 查询用户信息采集
|
|
|
- *
|
|
|
+ *
|
|
|
* @param id 用户信息采集主键
|
|
|
* @return 用户信息采集
|
|
|
*/
|
|
@@ -117,7 +117,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
|
|
|
/**
|
|
|
* 查询用户信息采集列表
|
|
|
- *
|
|
|
+ *
|
|
|
* @param fsUserInformationCollection 用户信息采集
|
|
|
* @return 用户信息采集
|
|
|
*/
|
|
@@ -129,7 +129,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
|
|
|
/**
|
|
|
* 新增用户信息采集
|
|
|
- *
|
|
|
+ *
|
|
|
* @param param 用户信息采集
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -144,7 +144,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
|
|
|
/**
|
|
|
* 修改用户信息采集
|
|
|
- *
|
|
|
+ *
|
|
|
* @param param 用户信息采集
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -168,7 +168,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
|
|
|
/**
|
|
|
* 批量删除用户信息采集
|
|
|
- *
|
|
|
+ *
|
|
|
* @param ids 需要删除的用户信息采集主键
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -180,7 +180,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
|
|
|
/**
|
|
|
* 删除用户信息采集信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param id 用户信息采集主键
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -364,8 +364,8 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
}
|
|
|
} else {
|
|
|
//没有关联套餐包医生确认清空所有状态
|
|
|
- map.setDoctorConfirm(0);
|
|
|
- map.setUserConfirm(0);
|
|
|
+// map.setDoctorConfirm(0);
|
|
|
+// map.setUserConfirm(0);
|
|
|
}
|
|
|
|
|
|
if (fsUserInformationCollectionMapper.updateFsUserInformationCollection(map) > 0) {
|
|
@@ -472,23 +472,24 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
//第一次确认
|
|
|
if (collection.getStatus() == 1) {
|
|
|
map.setStatus(2);
|
|
|
- } else if (collection.getStatus() == 2) {
|
|
|
- //清空订单号
|
|
|
- fsUserInformationCollectionMapper.collectionOderCodeNULL(collection.getId());
|
|
|
- map.setStatus(1);
|
|
|
- map.setDoctorConfirm(0);
|
|
|
- map.setUserConfirm(0);
|
|
|
- map.setUserConfirm2(0);
|
|
|
- FsStoreOrder fsStoreOrder = storeOrderService.selectFsStoreOrderByOrderCode(collection.getPackageOrderCode());
|
|
|
- if (fsStoreOrder != null) {
|
|
|
- FsStoreOrder editOrder = new FsStoreOrder();
|
|
|
- editOrder.setOrderId(fsStoreOrder.getOrderId());
|
|
|
- editOrder.setIsConfirm(1);
|
|
|
- storeOrderService.updateFsStoreOrder(editOrder);
|
|
|
- } else {
|
|
|
- return R.error("没有找到订单");
|
|
|
- }
|
|
|
}
|
|
|
+// else if (collection.getStatus() == 2) {
|
|
|
+// //清空订单号
|
|
|
+// fsUserInformationCollectionMapper.collectionOderCodeNULL(collection.getId());
|
|
|
+// map.setStatus(1);
|
|
|
+// map.setDoctorConfirm(0);
|
|
|
+// map.setUserConfirm(0);
|
|
|
+// map.setUserConfirm2(0);
|
|
|
+// FsStoreOrder fsStoreOrder = storeOrderService.selectFsStoreOrderByOrderCode(collection.getPackageOrderCode());
|
|
|
+// if (fsStoreOrder != null) {
|
|
|
+// FsStoreOrder editOrder = new FsStoreOrder();
|
|
|
+// editOrder.setOrderId(fsStoreOrder.getOrderId());
|
|
|
+// editOrder.setIsConfirm(1);
|
|
|
+// storeOrderService.updateFsStoreOrder(editOrder);
|
|
|
+// } else {
|
|
|
+// return R.error("没有找到订单");
|
|
|
+// }
|
|
|
+// }
|
|
|
}
|
|
|
if (fsUserInformationCollectionMapper.updateFsUserInformationCollection(map) > 0) {
|
|
|
//存入医生确认统计时间数据
|