增加省份后地址字段

This commit is contained in:
liang.chao 2024-08-27 09:40:23 +08:00
parent 9797d3d1ba
commit 4c08156676
2 changed files with 6 additions and 1 deletions

View File

@ -149,6 +149,8 @@ public class BmProjectLot {
private String address; private String address;
@ApiModelProperty(value = "省份") @ApiModelProperty(value = "省份")
private String province; private String province;
@ApiModelProperty(value = "省份后地址")
private String detailsAddress;
/** 导出选中列表 */ /** 导出选中列表 */
private List<Long> dataCondition; private List<Long> dataCondition;

View File

@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!--<include refid="bmProjectInfo"/>--> <!--<include refid="bmProjectInfo"/>-->
select a.lot_id, a.pro_id, a.lot_name, a.status, a.type_id, a.link_man, a.telphone, a.own_pro, a.dept_id, a.is_share, select a.lot_id, a.pro_id, a.lot_name, a.status, a.type_id, a.link_man, a.telphone, a.own_pro, a.dept_id, a.is_share,
a.lon, a.lat, a.del_flag, a.create_by, a.create_time,a.remark,a.company_id ,b.dept_name, c.name,a.start_date,a.completion_date, a.lon, a.lat, a.del_flag, a.create_by, a.create_time,a.remark,a.company_id ,b.dept_name, c.name,a.start_date,a.completion_date,
a.longitude,a.latitude,a.address,a.province a.longitude,a.latitude,a.address,a.province,a.details_address
from bm_project_lot a from bm_project_lot a
left join sys_dept b on a.dept_id = b.dept_id left join sys_dept b on a.dept_id = b.dept_id
left join sys_dic c on a.type_id = c.id left join sys_dic c on a.type_id = c.id
@ -122,6 +122,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="latitude != null and latitude != ''">latitude,</if> <if test="latitude != null and latitude != ''">latitude,</if>
<if test="address != null and address != ''">address,</if> <if test="address != null and address != ''">address,</if>
<if test="province != null and province != ''">province,</if> <if test="province != null and province != ''">province,</if>
<if test="detailsAddress != null and detailsAddress != ''">details_address,</if>
create_time create_time
)values( )values(
<if test="lotName != null and lotName != ''">#{lotName},</if> <if test="lotName != null and lotName != ''">#{lotName},</if>
@ -143,6 +144,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="latitude != null and latitude != ''">#{latitude},</if> <if test="latitude != null and latitude != ''">#{latitude},</if>
<if test="address != null and address != ''">#{address},</if> <if test="address != null and address != ''">#{address},</if>
<if test="province != null and province != ''">#{province},</if> <if test="province != null and province != ''">#{province},</if>
<if test="detailsAddress != null and detailsAddress != ''">#{detailsAddress},</if>
sysdate() sysdate()
) )
</insert> </insert>
@ -167,6 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="longitude != null and longitude != ''">longitude = #{longitude},</if> <if test="longitude != null and longitude != ''">longitude = #{longitude},</if>
<if test="latitude != null and latitude != ''">latitude = #{latitude},</if> <if test="latitude != null and latitude != ''">latitude = #{latitude},</if>
<if test="address != null and address != ''">address = #{address},</if> <if test="address != null and address != ''">address = #{address},</if>
<if test="detailsAddress != null and detailsAddress != ''">details_address = #{detailsAddress},</if>
update_time = sysdate() update_time = sysdate()
</set> </set>
where lot_id = #{lotId} where lot_id = #{lotId}