|
@@ -12,7 +12,7 @@ import java.util.List;
|
|
|
|
|
|
@Mapper
|
|
|
public interface CovidDao {
|
|
|
- @Select("select id, name, convert(varchar(10), date, 21) date from " +
|
|
|
+ @Select("select id, name, date from " +
|
|
|
"t_covid19_assessment where patient_id=#{patientId} order by id")
|
|
|
List<CovidIndexPojo> getList(@Param("patientId") String patientId);
|
|
|
|
|
@@ -21,7 +21,7 @@ public interface CovidDao {
|
|
|
"addrCity=(select name from t_region where code=addr_city), " +
|
|
|
"addrDistrict=(select name from t_region where code=addr_district), " +
|
|
|
"addr_additional addrAdditional, temperature, fever_number feverNumber, " +
|
|
|
- "convert(varchar(10), date, 21) date, item1, item2, item3, item4, item5, " +
|
|
|
+ "date, item1, item2, item3, item4, item5, " +
|
|
|
"symptoms symptomsSelect from t_covid19_assessment where id=#{id}")
|
|
|
CovidDetailPojo getDetail(@Param("id") Integer id);
|
|
|
|
|
@@ -29,9 +29,6 @@ public interface CovidDao {
|
|
|
"from mz_patient_mi where patient_id=#{patientId}")
|
|
|
CovidDetailPojo getPatientInfo(@Param("patientId") String patientId);
|
|
|
|
|
|
- @Select("select top 1 rtrim(patient_id) from mz_patient_mi where social_no=#{idcard} order by lv_date desc")
|
|
|
- String getPatientId(@Param("idcard") String idcard);
|
|
|
-
|
|
|
@Select("select code, name from t_region where level=1 and del_flag=0 order by code")
|
|
|
List<RegionPojo> getRegionProvince();
|
|
|
|