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

fix cashout

release_toaliyun_real
xiaohanzi 5 лет назад
Родитель
Сommit
60c8c28606
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      mallinkSchedule/src/main/java/com/iformall/schedule/CashOutSchedule.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxMerchantMapper.xml

+ 1
- 1
mallinkSchedule/src/main/java/com/iformall/schedule/CashOutSchedule.java Просмотреть файл

@@ -59,7 +59,7 @@ public class CashOutSchedule {
Calendar startA = Calendar.getInstance();
startA.setTime(curDate);
//startA.add(Calendar.DAY_OF_YEAR, -1);
startA.add(Calendar.MINUTE, -100);
startA.add(Calendar.MINUTE, -10);
cashOut.setCreateDateEnd(startA.getTime());
List<WxCashOut> cashoutlist = wxCashOutMapper.findList(cashOut);
if (null != cashoutlist && cashoutlist.size() > 0 ) {


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

@@ -611,7 +611,7 @@
order by create_date desc
</select>

<update id="updateCash" parameterType="com.iformall.domain.po.WxMerchant">
<update id="increaseCash" parameterType="com.iformall.domain.po.WxMerchant">
update wx_merchant set cash_out_number = cash_out_number+#{cashOutNumber} where id = #{id}
</update>


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