|
@@ -34,6 +34,7 @@ import com.fs.his.dto.TracesDTO;
|
|
|
import com.fs.his.enums.FsStoreOrderLogEnum;
|
|
import com.fs.his.enums.FsStoreOrderLogEnum;
|
|
|
import com.fs.his.enums.FsStoreOrderStatusEnum;
|
|
import com.fs.his.enums.FsStoreOrderStatusEnum;
|
|
|
import com.fs.his.enums.ShipperCodeEnum;
|
|
import com.fs.his.enums.ShipperCodeEnum;
|
|
|
|
|
+import com.fs.his.mapper.FsUserInformationCollectionMapper;
|
|
|
import com.fs.his.param.FsFollowMsgParam;
|
|
import com.fs.his.param.FsFollowMsgParam;
|
|
|
import com.fs.his.param.FsStoreOrderParam;
|
|
import com.fs.his.param.FsStoreOrderParam;
|
|
|
import com.fs.his.param.FsStoreOrderSalesParam;
|
|
import com.fs.his.param.FsStoreOrderSalesParam;
|
|
@@ -125,6 +126,8 @@ public class FsStoreOrderController extends BaseController
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private IFsDfAccountService fsDfAccountService;
|
|
private IFsDfAccountService fsDfAccountService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private FsUserInformationCollectionMapper userInformationCollectionMapper;
|
|
|
/**
|
|
/**
|
|
|
* 查询订单列表
|
|
* 查询订单列表
|
|
|
*/
|
|
*/
|
|
@@ -648,6 +651,12 @@ public class FsStoreOrderController extends BaseController
|
|
|
public AjaxResult sendGoods(@RequestBody FsStoreOrder fsStoreOrder)
|
|
public AjaxResult sendGoods(@RequestBody FsStoreOrder fsStoreOrder)
|
|
|
{
|
|
{
|
|
|
String nickName = getLoginUser().getUser().getNickName();
|
|
String nickName = getLoginUser().getUser().getNickName();
|
|
|
|
|
+ if(CloudHostUtils.hasCloudHostName("金牛明医")){
|
|
|
|
|
+ FsUserInformationCollection fsUserInformationCollection = userInformationCollectionMapper.selectFsUserInformationCollectionByOrderCode(fsStoreOrder.getOrderCode());
|
|
|
|
|
+ if (fsUserInformationCollection != null&&fsUserInformationCollection.getDoctorType2Confirm()!=1) {
|
|
|
|
|
+ return AjaxResult.error("药师未确认");
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
return toAjax(fsStoreOrderService.sendGoods(fsStoreOrder,nickName));
|
|
return toAjax(fsStoreOrderService.sendGoods(fsStoreOrder,nickName));
|
|
|
}
|
|
}
|
|
|
/**
|
|
/**
|