Commit b7b86676 by zhiwj

红点提示

parent e8d0f8a6
......@@ -7,6 +7,7 @@ import com.gic.cloud.entity.TabSysAccountGroup;
import com.gic.cloud.entity.TabSysUser;
import com.gic.cloud.qo.UserQO;
import com.gic.cloud.service.AccountGroupService;
import com.gic.cloud.service.UpdateTipService;
import com.gic.cloud.service.UserApiService;
import com.gic.cloud.service.UserService;
import com.gic.commons.util.EntityUtil;
......@@ -30,6 +31,8 @@ public class UserApiServiceImpl implements UserApiService{
private UserService userService;
@Autowired
private AccountGroupService accountGroupService;
@Autowired
private UpdateTipService updateTipService;
@Override
public ServiceResponse<Integer> saveUser(UserDTO dto) {
......@@ -38,7 +41,9 @@ public class UserApiServiceImpl implements UserApiService{
if (!validParamResult.isSuccess()) {
return ServiceResponse.failure(validParamResult.getCode(), validParamResult.getMessage());
}
return ServiceResponse.success(userService.saveUser(dto));
Integer userId = userService.saveUser(dto);
updateTipService.insertBySaveUser(userId);
return ServiceResponse.success(userId);
}
@Override
......
......@@ -179,7 +179,7 @@
and t2.index_status = #{indexStatus}
and (t3.status = 1 or t3.status is null)
and (t3.classify_type = 1 or t3.classify_type is null)
AND (t4.business_id = 1 or t4.business_id is null)
-- AND (t4.business_id = 1 or t4.business_id is null)
AND (t4.type = 1 or t4.type is null)
and (t5.type = 1 or t5.type = 1 is null)
<if test="userId != null ">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment