Browse Source

Merge branch 'dev_third_data' into dev_temp

dev_shibei_match
zxc 4 years ago
parent
commit
c5c90fd5e9
  1. 2
      epmet-module/gov-issue/gov-issue-server/src/main/resources/mapper/IssueProjectCategoryDictDao.xml

2
epmet-module/gov-issue/gov-issue-server/src/main/resources/mapper/IssueProjectCategoryDictDao.xml

@ -237,7 +237,7 @@
#{l.projectId} AS projectId, #{l.projectId} AS projectId,
CONCAT(if(cd2.CATEGORY_CODE = '0','',CONCAT(cd2.CATEGORY_NAME,'-')),cd.CATEGORY_NAME) AS categoryName CONCAT(if(cd2.CATEGORY_CODE = '0','',CONCAT(cd2.CATEGORY_NAME,'-')),cd.CATEGORY_NAME) AS categoryName
FROM issue_project_category_dict cd FROM issue_project_category_dict cd
LEFT JOIN issue_project_category_dict cd2 ON cd2.CATEGORY_CODE = cd.PARENT_CATEGORY_CODE AND cd2.DEL_FLAG = '0' LEFT JOIN issue_project_category_dict cd2 ON cd2.CATEGORY_CODE = cd.PARENT_CATEGORY_CODE AND cd2.DEL_FLAG = '0' AND cd2.CUSTOMER_ID = #{customerId}
WHERE cd.DEL_FLAG = '0' WHERE cd.DEL_FLAG = '0'
AND cd.IS_DISABLE = 'enable' AND cd.IS_DISABLE = 'enable'
AND cd.CUSTOMER_ID = #{customerId} AND cd.CUSTOMER_ID = #{customerId}

Loading…
Cancel
Save