Commit b1cc7a05 by xiaoyj

新增商户过滤停用的create by xiaoyj 2018/4/26

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21064 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 7d265c99
......@@ -46,4 +46,8 @@ public interface Constants {
*/
public static final String MECHANIC_STATUS_PASS_CHECK = "sys_user_status_pass_check";
/**
* 用户状态
*/
public static final String SYS_USER_STATUS_NONUSE="sys_user_status_nonuse";
}
......@@ -385,7 +385,7 @@ public class SysUserServiceImpl implements SysUserService {
BeanUtils.copyProperties(sysMerchant, sysUser);
updateServiceItem(sysUser);
//如果是未知订单进来的
if (sysMerchant.getOrderId() != null) {
if (sysMerchant.getOrderId() != null && !Constants.SYS_USER_STATUS_NONUSE.equals(sysMerchant.getUserStatus())) {
JSONObject jsonObject = orderClient.updateOrdersBindShop(sysMerchant.getOrderId(), userId,sysMerchant.getServiceType());
String code = jsonObject.get("code").toString();
if (!"200".equals(code)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!