| | |
| | | package com.ltkj.hosp.mapper; |
| | | |
| | | import java.sql.ResultSet; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | |
| | | List<TjCustomer> getcusList(TjCustomer tjCustomer); |
| | | |
| | | List<Map<String ,Object >> getCusInfoList(String card); |
| | | List<Map<String ,Object >> getCusInfoList(@Param("card") String card,@Param("time") Date time); |
| | | |
| | | List<Map<String ,Object >> getCusInfoListByCardAndName(@Param("card") String card,@Param("name") String name); |
| | | |
| | | |
| | | @Select("SELECT IF(b.cus_sex=0,'男','女') xb FROM tj_order a JOIN tj_customer b ON b.cus_id=a.user_id \n" + |
| | | @Select("SELECT IF(b.cus_sex=0,'0','1') xb FROM tj_order a JOIN tj_customer b ON b.cus_id=a.user_id \n" + |
| | | "WHERE a.tj_number=#{tjNumber}") |
| | | String getSexByTjh(String tjNumber); |
| | | } |