Forráskód Böngészése

重置医生端的拒方率和开方时长

cgp 3 hete
szülő
commit
bda0d9ca8d

+ 0 - 21
fs-doctor-app/src/main/java/com/fs/app/controller/cid/MessageController.java

@@ -1,21 +0,0 @@
-package com.fs.app.controller.cid;
-
-import com.fs.wxcid.dto.common.ApiResponse;
-import com.fs.wxcid.dto.message.SendTextMessageRequest;
-import com.fs.wxcid.service.MessageService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.*;
-
-@RequestMapping("/cid/message")
-@RestController
-public class MessageController {
-    @Autowired
-    private MessageService messageService;
-
-
-    //发送文本消息
-    @PostMapping("/send-text")
-    public ApiResponse sendText(@RequestParam String key, @RequestBody SendTextMessageRequest req) {
-        return messageService.sendTextMessage(key, req);
-    }
-}

+ 1 - 1
fs-service/src/main/java/com/fs/his/mapper/FsPrescribeRecordMapper.java

@@ -79,7 +79,7 @@ public interface FsPrescribeRecordMapper extends BaseMapper<FsPrescribeRecord>{
             "            2\n" +
             "        )\n" +
             "    END AS percentage\n" +
-            "FROM fs_prescibe_record WHERE doctor_id = #{doctorId} ")
+            "FROM fs_prescibe_record WHERE doctor_id = #{doctorId} and  create_time > '2025-12-22'")
     Map<String,Object> selectDoctorRefusePercentage(@Param("doctorId") Long doctorId);
 
     //统计拒方数量