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

master
yuan 7 years ago
commit 846bc84c0a

@ -958,10 +958,15 @@ public class RetailAppServiceImp implements RetailAppService {
Boolean isUpdate = PlatformEnvironment.getEnv().isAppUpdate(clientType);
String updateContent = PlatformEnvironment.getEnv().getAppUpdateContent(clientType);
int update_type = 0;// 0:不更新 1更新 2强制更新
if (newAppVersion.compareToIgnoreCase(version) > 0) {
update_type = 1;
if (isUpdate) {
update_type = 2;
String [] versionArr = version.split("\\.");
String [] newVersionArr = newAppVersion.split("\\.");
for (int i = 0; i < newVersionArr.length; i++) {
if(Integer.valueOf(newVersionArr[i])>Integer.valueOf(versionArr[i])){
update_type = 1;
if (isUpdate) {
update_type = 2;
}
i=newVersionArr.length+1;
}
}
JSONObject res = new JSONObject();

@ -80,7 +80,7 @@
<button type="button" ng-if="partner.open_status!=10 && partner.approve_result!=1"
class="btn btn-success" ng-click="passClient()">Pass
</button>
<button ng-if="(partner.open_status==1||partner.open_status==4||partner.open_status==10) && partner.approve_result>3"
<button ng-if="(partner.open_status==1||partner.open_status==10) && partner.approve_result>3 || partner.open_status==4"
type="button" class="btn btn-primary" ng-click="refuse()">Refuse
</button>
<button type="button" class="btn btn-danger" ng-click="deleteClient()">Delete</button>

Loading…
Cancel
Save