Просмотр исходного кода

[租赁/物业][修改][查询排序]

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
b4f0b3b80b
6 измененных файлов: 6 добавлений и 5 удалений
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/domain/po/WxBillDeposit.java
  2. +1
    -1
      mallinkService/src/main/java/com/iformall/domain/po/WxBillProperty.java
  3. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java
  4. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillRentServiceImpl.java
  5. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
  6. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 1
- 1
mallinkService/src/main/java/com/iformall/domain/po/WxBillDeposit.java Просмотреть файл

@@ -292,7 +292,7 @@ public class WxBillDeposit implements Serializable {
sb.append(",");
sb.append(fields[k].toString());
}
this.sortColumns = sb.toString();
}
public void setSortColumns(String sortColumns)


+ 1
- 1
mallinkService/src/main/java/com/iformall/domain/po/WxBillProperty.java Просмотреть файл

@@ -351,7 +351,7 @@ public class WxBillProperty implements Serializable {
sb.append(",");
sb.append(fields[k].toString());
}
this.sortColumns = sb.toString();
}
public void setSortColumns(String sortColumns)


+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java Просмотреть файл

@@ -6,7 +6,6 @@ import com.iformall.common.ErrorCode;
import com.iformall.common.IdWorker;
import com.iformall.common.Result;
import com.iformall.common.ResultData;
import com.iformall.domain.po.WxBillDeposit;
import com.iformall.domain.po.WxBillProperty;
import com.iformall.domain.po.WxBillPropertyDeposit;
import com.iformall.enums.EnumBillRentStatus;
@@ -150,6 +149,7 @@ public class WxBillPropertyServiceImpl implements WxBillPropertyService {
public Object findByMerchantId(Long id) {
WxBillProperty record = new WxBillProperty();
record.setMerchantId(id);
record.setSortColumns(WxBillProperty.Field.Id_ASC);
return wxBillPropertyMapper.queryBillPropertyList(record);
}



+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxBillRentServiceImpl.java Просмотреть файл

@@ -150,6 +150,7 @@ public class WxBillRentServiceImpl implements WxBillRentService {
public Object findByMerchantId(Long id) {
WxBillRent record = new WxBillRent();
record.setMerchantId(id);
record.setSortColumns(WxBillRent.Field.Id_ASC);
return wxBillRentMapper.queryBillRentList(record);
}



+ 1
- 1
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml Просмотреть файл

@@ -99,7 +99,7 @@
<if test=" null != rentShopType ">and br.`rent_shop_type` = #{rentShopType}</if>
</where>
order by id
order by ${sortColumns}
</select>
<select id="queryPayInfo" resultType="hashmap" parameterType="hashmap">


+ 1
- 1
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml Просмотреть файл

@@ -100,7 +100,7 @@
<if test=" null != starttime and null!=endtime ">and br.`receive_date` between #{starttime} and #{endtime}</if>
<if test=" null != rentShopType ">and br.`rent_shop_type` = #{rentShopType}</if>
</where>
order by id
order by ${sortColumns}
</select>
<select id="queryPayInfo" resultType="hashmap" parameterType="hashmap">


Загрузка…
Отмена
Сохранить