|
@@ -4630,16 +4630,11 @@ func (c *DialysisAPIController) GetMobilePrintStockGood() {
|
4630
|
4630
|
}
|
4631
|
4631
|
|
4632
|
4632
|
func (c *DialysisAPIController) BatchDeleteMonitor() {
|
4633
|
|
- dataBody := make(map[string]interface{}, 0)
|
4634
|
|
- err := json.Unmarshal(c.Ctx.Input.RequestBody, &dataBody)
|
|
4633
|
+ fmt.Println("jin2222245555555555")
|
4635
|
4634
|
ids := c.GetString("ids")
|
4636
|
|
- if len(ids) == 0 {
|
4637
|
|
- c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
|
4638
|
|
- return
|
4639
|
|
- }
|
4640
|
|
-
|
|
4635
|
+ fmt.Println("dis22222222", ids)
|
4641
|
4636
|
idArray := strings.Split(ids, ",")
|
4642
|
|
- err = service.BatchDeleteMonitor(idArray)
|
|
4637
|
+ err := service.BatchDeleteMonitor(idArray)
|
4643
|
4638
|
fmt.Print("err", err)
|
4644
|
4639
|
c.ServeSuccessJSON(map[string]interface{}{
|
4645
|
4640
|
"msg": "批量删除成功",
|
|
@@ -4666,7 +4661,7 @@ func (c *DialysisAPIController) GetPatientDialysisRecord() {
|
4666
|
4661
|
})
|
4667
|
4662
|
}
|
4668
|
4663
|
|
4669
|
|
-func (c *DialysisAPIController) BathDeleteAdvice() {
|
|
4664
|
+func (c *DialysisAPIController) BathDeleteAdviceList() {
|
4670
|
4665
|
|
4671
|
4666
|
dataBody := make(map[string]interface{}, 0)
|
4672
|
4667
|
err := json.Unmarshal(c.Ctx.Input.RequestBody, &dataBody)
|