查询未删除数据

main
cheney 11 months ago
parent 86de39f290
commit f9fb9aaafb
  1. 2
      nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java
  2. 2
      users/src/main/java/com/huoran/users/mapper/xml/HrUserAccountMapper.xml

@ -219,7 +219,7 @@ public class PlatformTeamAccountServiceImpl extends ServiceImpl<PlatformTeamAcco
// 添加所属供应商/幼儿园分类,分类为空直接新增团队
PlatformTeamClassification platformTeamClassification = new PlatformTeamClassification();
platformTeamClassification.setIsTeam(1);
platformTeamClassification.setParentId(1);
platformTeamClassification.setParentId(0);
platformTeamClassification.setLevel(1);
if (StringUtils.isNotBlank(appletCallbackReq.getOrganizationName())){

@ -1114,7 +1114,7 @@
AND ec.platform_source = hu.platform_id
INNER JOIN k_platform_team_account ta ON ta.account_id = hu.id
INNER JOIN k_platform_team pt ON ta.manage_id = pt.manage_id
INNER JOIN k_platform_team_classification tc ON tc.id = pt.classification_id
INNER JOIN k_platform_team_classification tc ON tc.id = pt.classification_id and tc.is_del = 0
WHERE
ec.open_id = #{openId}
</select>

Loading…
Cancel
Save