|
@@ -4,6 +4,7 @@ import com.ywt.mg.core.MGRight;
|
|
import com.ywt.mg.core.utils.Checker;
|
|
import com.ywt.mg.core.utils.Checker;
|
|
import com.ywt.mg.core.utils.serializers.JsonSerializer;
|
|
import com.ywt.mg.core.utils.serializers.JsonSerializer;
|
|
import com.ywt.mg.domain.models.ConstantDef;
|
|
import com.ywt.mg.domain.models.ConstantDef;
|
|
|
|
+import com.ywt.mg.domain.models.pojo.ConstantRightDisplayDef;
|
|
import com.ywt.mg.params.checkupBooking.QueryCheckUpOrderListRequest;
|
|
import com.ywt.mg.params.checkupBooking.QueryCheckUpOrderListRequest;
|
|
import com.ywt.mg.services.AuthService;
|
|
import com.ywt.mg.services.AuthService;
|
|
import com.ywt.mg.services.CommonWxPushService;
|
|
import com.ywt.mg.services.CommonWxPushService;
|
|
@@ -39,6 +40,11 @@ public class HospCommonWxPushController {
|
|
@RequestMapping({"/downloadHisPatientId"})
|
|
@RequestMapping({"/downloadHisPatientId"})
|
|
public BaseResponse downloadHisPatientId() {
|
|
public BaseResponse downloadHisPatientId() {
|
|
int currentAdminId = Checker.getIntegerValue(authService.getCurrentAdminId());
|
|
int currentAdminId = Checker.getIntegerValue(authService.getCurrentAdminId());
|
|
|
|
+ String downloadHisPatientidRightCode = ConstantRightDisplayDef.COMMON_WX_PUSH_DISPLAY_DOWNLOAD_HISPATIENTID;
|
|
|
|
+ boolean downloadHisPatientidRight = authService.checkCacheRight(downloadHisPatientidRightCode);
|
|
|
|
+ if (!downloadHisPatientidRight) {
|
|
|
|
+ logger.error("HospCommonWxPushController#downloadHisPatientId>>没有权限,请先设置权限,userId:{}", authService.getCurrentAdmin());
|
|
|
|
+ }
|
|
// request.setCurrentAdminId(currentAdminId);
|
|
// request.setCurrentAdminId(currentAdminId);
|
|
// 插入记录
|
|
// 插入记录
|
|
|
|
|