|
|
@ -466,9 +466,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
client.put("show_all_permission", checkBDPermission > 0);
|
|
|
|
client.put("show_all_permission", checkBDPermission > 0);
|
|
|
|
if (checkBDPermission > 0) {
|
|
|
|
if (checkBDPermission > 0) {
|
|
|
|
JSONObject org = orgMapper.findOne(manager.getIntValue("org_id"));
|
|
|
|
JSONObject org = orgMapper.findOne(manager.getIntValue("org_id"));
|
|
|
|
boolean bdRateEditable = client.getIntValue("approve_result") != 1 ||
|
|
|
|
boolean bdRateEditable = client.getIntValue("approve_result") != 1 || org.getBooleanValue("rate_editable") ||
|
|
|
|
(client.getIntValue("upay_approve_result") !=1 && !client.containsKey("upay_approve_result") && client.getIntValue("upay_approve_result") !=4)
|
|
|
|
//开起信用卡支付申请,并且申请结果不是:null.新建 1.通过 4.BD已提交资料状态
|
|
|
|
|| org.getBooleanValue("rate_editable");
|
|
|
|
( !clientConfig.getBoolean("enable_card_payment") && !client.containsKey("upay_approve_result") && client.getIntValue("upay_approve_result") !=1 && client.getIntValue("upay_approve_result") !=4);
|
|
|
|
client.put("rate_editable", bdRateEditable);
|
|
|
|
client.put("rate_editable", bdRateEditable);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
client.put("company_phone", "******");
|
|
|
|
client.put("company_phone", "******");
|
|
|
|