字段修改
This commit is contained in:
parent
6811e9638b
commit
4789e33f2a
@ -227,7 +227,7 @@ public class Constants {
|
||||
/**
|
||||
* 护理站简介附近图片路径上传
|
||||
*/
|
||||
public static final String NURSE_STATION_INTRODUCE_TYPE = "stationIntroducePcitureUrl";
|
||||
public static final String NURSE_STATION_INTRODUCE_TYPE = "stationIntroducePictureUrl";
|
||||
|
||||
/**
|
||||
* 护理站项目图片路径上传
|
||||
|
||||
@ -101,7 +101,7 @@ public class NearbyNursingStationVO implements Serializable {
|
||||
/**
|
||||
* 护理站图片路径2
|
||||
*/
|
||||
private String stationIntroducePcitureUrl;
|
||||
private String stationIntroducePictureUrl;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
<result property="dutyPerson" column="duty_person"/>
|
||||
<result property="dutyPhone" column="duty_phone"/>
|
||||
<result property="stationPictureUrl" column="station_picture_url"/>
|
||||
<result property="stationIntroducePcitureUrl" column="station_introduce_pciture_url"/>
|
||||
<result property="stationIntroducePictureUrl" column="station_introduce_picture_url"/>
|
||||
<result property="sort" column="sort"/>
|
||||
<result property="nurseGrade" column="nurse_grade"/>
|
||||
<result property="openingHoursDescribe" column="opening_hours_describe"/>
|
||||
@ -262,7 +262,7 @@
|
||||
IFNULL(ns.duty_person, '') duty_person,
|
||||
IFNULL(ns.duty_phone, '') duty_phone,
|
||||
IFNULL(ns.station_picture_url, '') station_picture_url,
|
||||
IFNULL(ns.station_introduce_pciture_url, '') station_introduce_pciture_url,
|
||||
IFNULL(ns.station_introduce_picture_url, '') station_introduce_picture_url,
|
||||
ns.sort,
|
||||
ns.nurse_grade,
|
||||
ns.opening_hours_describe,
|
||||
|
||||
@ -226,7 +226,7 @@ public class NurseStation extends BaseDomain implements Serializable {
|
||||
.append("dutyPerson", getDutyPerson())
|
||||
.append("dutyPhone", getDutyPhone())
|
||||
.append("stationPictureUrl", getStationPictureUrl())
|
||||
.append("stationIntroducePcitureUrl", getStationIntroducePictureUrl())
|
||||
.append("stationIntroducePictureUrl", getStationIntroducePictureUrl())
|
||||
.append("sort", getSort())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
|
||||
@ -23,6 +23,7 @@ public class NurseStationDTO extends NurseStation implements Serializable {
|
||||
* 护理站的id
|
||||
**/
|
||||
private Long nurseStationId;
|
||||
|
||||
/**
|
||||
* 护理站标签信息表id集合
|
||||
**/
|
||||
|
||||
@ -104,10 +104,10 @@ public interface NurseStationMapper {
|
||||
* 修改护理站简介图片路径
|
||||
*
|
||||
* @param nurseStationCode 护理站编号
|
||||
* @param stationIntroducePcitureUrl 护理站图片路径
|
||||
* @param stationIntroducePictureUrl 护理站图片路径
|
||||
* @return int
|
||||
**/
|
||||
int updateNurseStationIntroduceByHead(@Param("nurseStationCode") String nurseStationCode, @Param("stationIntroducePcitureUrl") String stationIntroducePcitureUrl);
|
||||
int updateNurseStationIntroduceByHead(@Param("nurseStationCode") String nurseStationCode, @Param("stationIntroducePictureUrl") String stationIntroducePictureUrl);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -303,7 +303,7 @@ public class NurseStationServiceImpl implements INurseStationService {
|
||||
//获取护理站图片地址
|
||||
List<String> stationPictureUrlList = nurseStationIds.stream().filter(Objects::nonNull).filter(item -> StringUtils.isNotBlank(item.getStationPictureUrl())).map(NurseStationSysUserVO::getStationPictureUrl).distinct().collect(Collectors.toList());
|
||||
//获取护理站简介图片地址
|
||||
List<String> stationIntroducePictureUrlList = nurseStationIds.stream().filter(Objects::nonNull).filter(item -> StringUtils.isNotBlank(item.getStationIntroducePcitureUrl())).map(NurseStationSysUserVO::getStationIntroducePcitureUrl).distinct().collect(Collectors.toList());
|
||||
List<String> stationIntroducePictureUrlList = nurseStationIds.stream().filter(Objects::nonNull).filter(item -> StringUtils.isNotBlank(item.getStationIntroducePictureUrl())).map(NurseStationSysUserVO::getStationIntroducePictureUrl).distinct().collect(Collectors.toList());
|
||||
//获取护理站富文本的内容
|
||||
List<String> nurseStationAgencyIntroduceList = nurseStationIds.stream().filter(Objects::nonNull).filter(item -> StringUtils.isNotBlank(item.getAgencyIntroduce())).map(NurseStationSysUserVO::getAgencyIntroduce).distinct().collect(Collectors.toList());
|
||||
// 删除护理站信息
|
||||
|
||||
@ -41,7 +41,7 @@ public class NurseStationSysUserVO implements Serializable {
|
||||
/**
|
||||
* 护理站简介图片路径
|
||||
*/
|
||||
private String stationIntroducePcitureUrl;
|
||||
private String stationIntroducePictureUrl;
|
||||
|
||||
/**
|
||||
* 护理站简介
|
||||
|
||||
@ -520,7 +520,7 @@
|
||||
duty_person,
|
||||
duty_phone,
|
||||
station_picture_url,
|
||||
station_introduce_pciture_url,
|
||||
station_introduce_picture_url,
|
||||
sort,
|
||||
create_by,
|
||||
create_time,
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
<result property="dutyPerson" column="duty_person"/>
|
||||
<result property="dutyPhone" column="duty_phone"/>
|
||||
<result property="stationPictureUrl" column="station_picture_url"/>
|
||||
<result property="stationIntroducePictureUrl" column="station_introduce_pciture_url"/>
|
||||
<result property="stationIntroducePictureUrl" column="station_introduce_picture_url"/>
|
||||
<result property="sort" column="sort"/>
|
||||
<result property="createBy" column="create_by"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
@ -108,7 +108,7 @@
|
||||
duty_person,
|
||||
duty_phone,
|
||||
station_picture_url,
|
||||
station_introduce_pciture_url,
|
||||
station_introduce_picture_url,
|
||||
sort,
|
||||
create_by,
|
||||
create_time,
|
||||
@ -173,8 +173,8 @@
|
||||
<if test="stationPictureUrl != null and stationPictureUrl != ''">
|
||||
and station_picture_url = #{stationPictureUrl}
|
||||
</if>
|
||||
<if test="stationIntroducePcitureUrl != null and stationIntroducePcitureUrl != ''">
|
||||
and station_introduce_pciture_url = #{stationIntroducePcitureUrl}
|
||||
<if test="stationIntroducePictureUrl != null and stationIntroducePictureUrl != ''">
|
||||
and station_introduce_picture_url = #{stationIntroducePictureUrl}
|
||||
</if>
|
||||
<if test="sort != null ">
|
||||
and sort = #{sort}
|
||||
@ -270,7 +270,7 @@
|
||||
ns.duty_person,
|
||||
ns.duty_phone,
|
||||
ns.station_picture_url,
|
||||
ns.station_introduce_pciture_url,
|
||||
ns.station_introduce_picture_url,
|
||||
ns.sort,
|
||||
ns.create_by,
|
||||
ns.create_time,
|
||||
@ -334,7 +334,7 @@
|
||||
</if>
|
||||
<if test="stationPictureUrl != null">station_picture_url,
|
||||
</if>
|
||||
<if test="stationIntroducePcitureUrl != null">station_introduce_pciture_url,
|
||||
<if test="stationIntroducePictureUrl != null">station_introduce_picture_url,
|
||||
</if>
|
||||
<if test="sort != null">sort,
|
||||
</if>
|
||||
@ -390,7 +390,7 @@
|
||||
</if>
|
||||
<if test="stationPictureUrl != null">#{stationPictureUrl},
|
||||
</if>
|
||||
<if test="stationIntroducePcitureUrl != null">#{stationIntroducePcitureUrl},
|
||||
<if test="stationIntroducePictureUrl != null">#{stationIntroducePictureUrl},
|
||||
</if>
|
||||
<if test="sort != null">#{sort},
|
||||
</if>
|
||||
@ -464,8 +464,8 @@
|
||||
<if test="stationPictureUrl != null">station_picture_url =
|
||||
#{stationPictureUrl},
|
||||
</if>
|
||||
<if test="stationIntroducePcitureUrl != null">station_introduce_pciture_url =
|
||||
#{stationIntroducePcitureUrl},
|
||||
<if test="stationIntroducePictureUrl != null">station_introduce_picture_url =
|
||||
#{stationIntroducePictureUrl},
|
||||
</if>
|
||||
<if test="sort != null">sort =
|
||||
#{sort},
|
||||
@ -535,7 +535,7 @@
|
||||
|
||||
<update id="updateNurseStationIntroduceByHead" parameterType="NurseStation">
|
||||
update nurse_station
|
||||
set station_introduce_pciture_url = #{stationIntroducePcitureUrl}
|
||||
set station_introduce_picture_url = #{stationIntroducePictureUrl}
|
||||
where nurse_station_code = #{nurseStationCode}
|
||||
</update>
|
||||
|
||||
@ -586,7 +586,7 @@
|
||||
duty_person,
|
||||
duty_phone,
|
||||
station_picture_url,
|
||||
station_introduce_pciture_url,
|
||||
station_introduce_picture_url,
|
||||
sort,
|
||||
create_by,
|
||||
create_time,
|
||||
@ -617,7 +617,7 @@
|
||||
duty_person,
|
||||
duty_phone,
|
||||
station_picture_url,
|
||||
station_introduce_pciture_url,
|
||||
station_introduce_picture_url,
|
||||
sort,
|
||||
create_by,
|
||||
create_time,
|
||||
@ -640,7 +640,7 @@
|
||||
#{NurseStation.dutyPerson},
|
||||
#{NurseStation.dutyPhone},
|
||||
#{NurseStation.stationPictureUrl},
|
||||
#{NurseStation.stationIntroducePcitureUrl},
|
||||
#{NurseStation.stationIntroducePictureUrl},
|
||||
#{NurseStation.sort},
|
||||
#{NurseStation.createBy},
|
||||
#{NurseStation.createTime},
|
||||
@ -769,7 +769,7 @@
|
||||
ns.nurse_station_name,
|
||||
ns.agency_introduce,
|
||||
ns.station_picture_url,
|
||||
ns.station_introduce_pciture_url
|
||||
ns.station_introduce_picture_url
|
||||
FROM
|
||||
nurse_station ns
|
||||
<where>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user