winter 2 лет назад
Родитель
Сommit
d0fbb046f1
3 измененных файлов: 12 добавлений и 3 удалений
  1. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxSettleMerchantServiceImpl.java
  2. +8
    -0
      mallinkService/src/main/java/com/iformall/utils/PriceUtilV2.java
  3. +3
    -3
      mallinkService/src/main/resources/mapper/WxSettleMerchantMapper.xml

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

@@ -48,6 +48,7 @@ public class WxSettleMerchantServiceImpl implements WxSettleMerchantService{
valueMap.put("beginTime", DateUtils.format(record.getBeginTime()));
valueMap.put("endTime", DateUtils.format(record.getEndTime()));
valueMap.put("confirmTime", DateUtils.format(new Date()));
valueMap.put("merchantId", record.getMerchantId());
valueMap.put("merchantName", record.getMerchantName());
valueMap.put("merchantCode", record.getMerchantCode());
valueMap.put("merchantPerson", record.getMerchantPerson());


+ 8
- 0
mallinkService/src/main/java/com/iformall/utils/PriceUtilV2.java Просмотреть файл

@@ -150,4 +150,12 @@ public class PriceUtilV2 {
}
return sb.toString();
}
public static void main(String[] args) {
//BigDecimal numberOfMoney = new BigDecimal(432342341231.906);
//BigDecimal numberOfMoney = new BigDecimal(1500.100);
BigDecimal numberOfMoney = new BigDecimal(20000.000);
System.out.println(numberOfMoney.toString());
System.out.println(number2CNMontrayUnit(numberOfMoney));
}
}

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

@@ -80,11 +80,11 @@
</if>
<if test=" null != begin">
and `begin_time` &lt;= #{begin}
and `begin_time` &gt;= #{begin}
</if>
<if test=" null != end">
and `end_time` &gt;= #{end}
and `end_time` &lt;= #{end}
</if>
<if test=" null != merchantName and merchantName != '' ">
@@ -100,7 +100,7 @@
</if>
<if test=" null != isDel">
and `is_del` &gt;= #{isDel}
and `is_del` = #{isDel}
</if>
<if test=" null != ids ">


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