|
|
@@ -718,7 +718,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
scene,
|
|
|
"pages_order/confirmUserinfoNew",
|
|
|
true,
|
|
|
- "trial",//release trial
|
|
|
+ "release",//release trial
|
|
|
430,
|
|
|
true,
|
|
|
null,
|
|
|
@@ -1646,6 +1646,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
@Override
|
|
|
public List<FsUserInformationCollectionOverviewVo> fullyCollectionInfoList(FsUserInformationCollectionOverviewDTO queryDto) {
|
|
|
queryDto.setCompleteStatus(1);//已完善信息标识
|
|
|
+ queryDto.setQwTag(1);//个微采集表
|
|
|
PageHelper.startPage(queryDto.getPageNum(), queryDto.getPageSize());
|
|
|
List<FsUserInformationCollectionOverviewVo> resultList=fsUserInformationCollectionMapper.selectUserInformationCollectionOverviewByPage(queryDto);
|
|
|
if (CollectionUtils.isEmpty(resultList)){
|
|
|
@@ -1656,6 +1657,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
|
|
|
@Override
|
|
|
public Long bindCollectionPackage(bindCollectionPackageParam param) {
|
|
|
+ //TODO 是否已有订单号
|
|
|
//校验参数
|
|
|
FsUserInformationCollection informationCollection = fsUserInformationCollectionMapper.selectFsUserInformationCollectionById(param.getId());
|
|
|
if (informationCollection == null || informationCollection.getQwTag() == 0 || informationCollection.getCompleteStatus() == 0) {
|
|
|
@@ -1673,6 +1675,8 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
//套餐包必须是OTC、中药、处方药类型
|
|
|
if (fsPackage.getProductType() == 1 || fsPackage.getProductType() == 2 || fsPackage.getProductType() == 3) {
|
|
|
informationCollection.setPackageId(param.getPackageId());
|
|
|
+ informationCollection.setPayType(param.getPayType());
|
|
|
+ informationCollection.setAmount(param.getAmount());
|
|
|
informationCollection.setPersonalCollectStatus(PostPayPrescStatusEnum.PACKAGE_BIND.getCode());
|
|
|
int result = fsUserInformationCollectionMapper.updateFsUserInformationCollection(informationCollection);
|
|
|
if (result > 0){
|
|
|
@@ -1682,6 +1686,18 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
return 0L;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public FsUserInformationCollection getCollectionPackageInfo(Long collectionId) {
|
|
|
+ FsUserInformationCollection queryDto=new FsUserInformationCollection();
|
|
|
+ queryDto.setId(collectionId);
|
|
|
+ queryDto.setQwTag(1);
|
|
|
+ List<FsUserInformationCollection> fsUserInformationCollections = fsUserInformationCollectionMapper.selectFsUserInformationCollectionList(queryDto);
|
|
|
+ if (CollectionUtils.isEmpty(fsUserInformationCollections)){
|
|
|
+ throw new CustomException("用户信息采集不存在");
|
|
|
+ }
|
|
|
+ return fsUserInformationCollections.get(0);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 校验必填备注:对于 open=true 且被勾选的选项,必须填写备注文本
|
|
|
*
|