Преглед изворни кода

[租赁物业合同][修改][mapper.xml]

release_toaliyun_real
gongbiao пре 7 година
родитељ
комит
3b85f141df
2 измењених фајлова са 12 додато и 2 уклоњено
  1. +6
    -1
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
  2. +6
    -1
      mallinkService/src/main/resources/mapper/WxRentContractMapper.xml

+ 6
- 1
mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml Прегледај датотеку

@@ -42,6 +42,9 @@
<result column="rent_price" property="rentPrice"/> <result column="rent_price" property="rentPrice"/>
<result column="subject_name" property="subjectName"/> <result column="subject_name" property="subjectName"/>
<result column="rent_start_type" property="rentStartType"/> <result column="rent_start_type" property="rentStartType"/>
<result column="operation_type" property="operationType"/>
</resultMap> </resultMap>
<sql id="allColumns"> <sql id="allColumns">
@@ -51,7 +54,7 @@
`shop_type`,`shop_id`,`updatetime`,`createtime`,`rent_area`, `shop_type`,`shop_id`,`updatetime`,`createtime`,`rent_area`,
`link_person`,`link_phone`,`pay_account`,`filename`,`lease`,`rent_contract_id`, `link_person`,`link_phone`,`pay_account`,`filename`,`lease`,`rent_contract_id`,
`start_date`,`end_date`,`apply_status`,`adjust_period`,`business_type`,adjust_ratio,`rent_info`, `start_date`,`end_date`,`apply_status`,`adjust_period`,`business_type`,adjust_ratio,`rent_info`,
`file_names`,price_unit,rent_price,subject_name,rent_start_type
`file_names`,price_unit,rent_price,subject_name,rent_start_type,`operation_type`
</sql> </sql>
<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
@@ -87,6 +90,7 @@
<if test=" null != startDate ">and `start_date` = #{startDate}</if> <if test=" null != startDate ">and `start_date` = #{startDate}</if>
<if test=" null != endDate ">and `end_date` = #{endDate}</if> <if test=" null != endDate ">and `end_date` = #{endDate}</if>
<if test=" null != rentShopType">and `rent_shop_type` = #{rentShopType}</if> <if test=" null != rentShopType">and `rent_shop_type` = #{rentShopType}</if>
<if test=" null != operationType ">and `operation_type` = #{operationType}</if>
<if test=" null != ids "> <if test=" null != ids ">
and id in and id in
@@ -137,6 +141,7 @@
<if test=" null != applyStatus ">and rc.`apply_status` = #{applyStatus}</if> <if test=" null != applyStatus ">and rc.`apply_status` = #{applyStatus}</if>
<if test=" null != building and ''!= building">and b.id = #{building}</if> <if test=" null != building and ''!= building">and b.id = #{building}</if>
<if test=" null != floor and ''!= floor">and f.id = #{floor}</if> <if test=" null != floor and ''!= floor">and f.id = #{floor}</if>
<if test=" null != operationType ">and `operation_type` = #{operationType}</if>
</where> </where>


<if test=" null != sortColumns"> order by ${sortColumns} </if> <if test=" null != sortColumns"> order by ${sortColumns} </if>


+ 6
- 1
mallinkService/src/main/resources/mapper/WxRentContractMapper.xml Прегледај датотеку

@@ -51,6 +51,9 @@
<result column="rent_input_way" property="rentInputWay"/> <result column="rent_input_way" property="rentInputWay"/>
<result column="adjust_ratio_way" property="adjustRatioWay"/> <result column="adjust_ratio_way" property="adjustRatioWay"/>
<result column="operation_type" property="operationType"/>
</resultMap> </resultMap>
@@ -62,7 +65,7 @@
`start_date`,`end_date`, `start_date`,`end_date`,
`apply_status`,`bank_name`,`rent_shop_type`,`fix_start_date`,`fix_end_date`, `apply_status`,`bank_name`,`rent_shop_type`,`fix_start_date`,`fix_end_date`,
`business_type`,`rent_info`, `file_names`,price_unit,rent_price,`subject_name`,rent_start_type, `business_type`,`rent_info`, `file_names`,price_unit,rent_price,`subject_name`,rent_start_type,
`rent_input_way`,`adjust_ratio_way`
`rent_input_way`,`adjust_ratio_way`,`operation_type`
</sql> </sql>
@@ -98,6 +101,7 @@
<if test=" null != startDate ">and `start_date` = #{startDate}</if> <if test=" null != startDate ">and `start_date` = #{startDate}</if>
<if test=" null != endDate ">and `end_date` = #{endDate}</if> <if test=" null != endDate ">and `end_date` = #{endDate}</if>
<if test=" null != rentShopType ">and `rent_shop_type` = #{rentShopType}</if> <if test=" null != rentShopType ">and `rent_shop_type` = #{rentShopType}</if>
<if test=" null != operationType ">and `operation_type` = #{operationType}</if>
<if test=" null != ids "> <if test=" null != ids ">
and id in and id in
@@ -145,6 +149,7 @@
<if test=" null != applyStatus ">and rc.`apply_status` = #{applyStatus}</if> <if test=" null != applyStatus ">and rc.`apply_status` = #{applyStatus}</if>
<if test=" null != building and ''!= building">and b.id = #{building}</if> <if test=" null != building and ''!= building">and b.id = #{building}</if>
<if test=" null != floor and ''!= floor">and f.id = #{floor}</if> <if test=" null != floor and ''!= floor">and f.id = #{floor}</if>
<if test=" null != operationType ">and `operation_type` = #{operationType}</if>
</where> </where>
<if test=" null != sortColumns"> order by ${sortColumns} </if> <if test=" null != sortColumns"> order by ${sortColumns} </if>
<if test=" null == sortColumns"> order by rc.id desc </if> <if test=" null == sortColumns"> order by rc.id desc </if>


Loading…
Откажи
Сачувај