Merge remote-tracking branch 'origin/develop' into develop

master
yuan 6 years ago
commit 0df950683d

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>au.com.royalpay.payment</groupId> <groupId>au.com.royalpay.payment</groupId>
<artifactId>payment-parent</artifactId> <artifactId>payment-parent</artifactId>
<version>0.2.0</version> <version>0.2.0-dev</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -28,6 +28,10 @@
<groupId>au.com.royalpay.payment</groupId> <groupId>au.com.royalpay.payment</groupId>
<artifactId>alipay-core</artifactId> <artifactId>alipay-core</artifactId>
</dependency> </dependency>
<dependency>
<groupId>au.com.royalpay.payment</groupId>
<artifactId>hf-core</artifactId>
</dependency>
<dependency> <dependency>
<groupId>au.com.royalpay.payment</groupId> <groupId>au.com.royalpay.payment</groupId>
<artifactId>jd-core</artifactId> <artifactId>jd-core</artifactId>

@ -553,13 +553,11 @@ public class RetailAppServiceImp implements RetailAppService {
JSONObject result = PageListUtils.buildPageListResult(logs); JSONObject result = PageListUtils.buildPageListResult(logs);
if (appQueryBean.getPage() == 1) { if (appQueryBean.getPage() == 1) {
if (!logs.isEmpty() && logs.size() > 0) { if (!logs.isEmpty() && logs.size() > 0) {
JSONObject clearingDetail = clearingDetailMapper.findByDetailId(logs.get(0).getIntValue("clearing_order")); JSONObject clearingLog = clearingLogMapper.findById(logs.get(0).getIntValue("clearing_id"));
if (clearingDetail!=null){ if(clearingLog.getBoolean("editable")){
JSONObject clearingLog = clearingLogMapper.findById(clearingDetail.getIntValue("clearing_id"));
if(clearingLog.getBooleanValue("editable")){
result.put("padding", true); result.put("padding", true);
logs.get(0).put("padding",true);
} }
}
} }
} }
return result; return result;

@ -2658,6 +2658,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
JSONObject clearingLog = clearingLogMapper.findById(clearingDetail.getIntValue("clearing_id")); JSONObject clearingLog = clearingLogMapper.findById(clearingDetail.getIntValue("clearing_id"));
if(clearingLog.getBooleanValue("editable")){ if(clearingLog.getBooleanValue("editable")){
result.put("padding", true); result.put("padding", true);
logs.get(0).put("padding",true);
logger.info("##editable"+clearingLog.getBooleanValue("editable"));
} }
} }
} }

@ -838,6 +838,8 @@ public class TradeLogServiceImpl implements TradeLogService {
JSONObject clearingLog = clearingLogMapper.findById(clearingDetail.getIntValue("clearing_id")); JSONObject clearingLog = clearingLogMapper.findById(clearingDetail.getIntValue("clearing_id"));
if(clearingLog.getBooleanValue("editable")){ if(clearingLog.getBooleanValue("editable")){
result.put("padding", true); result.put("padding", true);
logs.get(0).put("padding",true);
logger.info("##editable"+clearingLog.getBooleanValue("editable"));
} }
} }
} }

@ -68,7 +68,7 @@ app.cms.host=https://www.royalpay.com.au/
app.server.ip=127.0.0.1 app.server.ip=127.0.0.1
app.redpack_auth.enable=false app.redpack_auth.enable=false
hf.rsa-file=/opt/2000604000101.pfx
##积分商城 ##积分商城
app.customer.host=https://customer.royalpay.com.au/ app.customer.host=https://customer.royalpay.com.au/
customer.app.appid=customer customer.app.appid=customer

Loading…
Cancel
Save