From 91b430242c65f742ac06313bff34b6d9ec97ce50 Mon Sep 17 00:00:00 2001
From: 赵文轩 <1652863494@qq.com>
Date: 星期二, 29 十月 2024 11:43:53 +0800
Subject: [PATCH] 错误收费金额修改
---
ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjCustomerMapper.java | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjCustomerMapper.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjCustomerMapper.java
index f61ebfb..d63ff8d 100644
--- a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjCustomerMapper.java
+++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjCustomerMapper.java
@@ -1,11 +1,14 @@
package com.ltkj.hosp.mapper;
+import java.sql.ResultSet;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltkj.hosp.domain.TjCustomer;
import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
+import org.apache.ibatis.annotations.Update;
/**
* 瀹㈡埛淇℃伅Mapper鎺ュ彛
@@ -70,4 +73,18 @@
@Select("SELECT * FROM tj_customer WHERE cus_idcard = #{cusIdCard}")
TjCustomer getTjCustomerByCusIdCard(String cusIdCard);
+
+
+ @Select("SELECT * FROM tj_customer WHERE cus_idcard = #{cusIdCard}")
+ ResultSet getJsonParseCustomerList(String deptId, Integer page, Integer pageSize, String cusName, String tjNumber);
+
+ @Select("SELECT IFNULL(b.cn_name,'鏃�') FROM (\n" +
+ "\n" +
+ "SELECT a.firm_id cid FROM tj_order a WHERE a.user_id=#{cusId} ORDER BY a.order_id DESC LIMIT 1)" +
+ " aa LEFT JOIN dict_comp b ON aa.cid=b.drug_manufacturer_id")
+ String getCompNameByCusId(String cusId);
+
+
+ @Update("update tj_customer set card_id=#{cardId} where cus_id=#{cusId}")
+ void updateCardId(@Param("cusId") Long cusId,@Param("cardId") String cardId);
}
--
Gitblit v1.8.0