| | |
| | | |
| | | import java.sql.ResultSet; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | |
| | | |
| | | @Update("update tj_customer set card_id=#{cardId} where cus_id=#{cusId}") |
| | | void updateCardId(@Param("cusId") Long cusId,@Param("cardId") String cardId); |
| | | |
| | | |
| | | // @Select({"<script> select * from v_customer where 1=1 "+ |
| | | // " <when test='name !=null'>" + |
| | | // " AND xm like '%'+#{name}+'%'" + |
| | | // "</when>" + |
| | | // " <when test='sjh !=null'>" + |
| | | // " AND sjh like '%'+#{sjh}+'%' " + |
| | | // "</when>" + |
| | | // " <when test='sfzh !=null'>" + |
| | | // " AND sfzh = #{sfzh}" + |
| | | // "</when>" + |
| | | // "</script>"}) |
| | | List<Map<String, Object>> vcustomerlist(@Param("name")String name, @Param("sjh")String sjh, @Param("sfzh") String sfzh); |
| | | |
| | | List<TjCustomer> getcusList(TjCustomer tjCustomer); |
| | | } |