Compare commits

...

6 Commits

5 changed files with 574 additions and 476 deletions

File diff suppressed because one or more lines are too long

View File

@ -74,17 +74,17 @@
<update id="updateUserDepart"> <update id="updateUserDepart">
UPDATE sys_user SET UPDATE sys_user SET
<if test="orgCode!=null and loginTenantId!=null"> <if test="orgCode!=null and loginTenantId!=null">
org_code = #{orgCode} org_code = #{orgCode, jdbcType=VARCHAR}
,login_tenant_id = #{loginTenantId} ,login_tenant_id = #{loginTenantId, jdbcType=VARCHAR}
</if> </if>
<if test="orgCode==null and loginTenantId!=null"> <if test="orgCode==null and loginTenantId!=null">
login_tenant_id = #{loginTenantId} login_tenant_id = #{loginTenantId, jdbcType=VARCHAR}
</if> </if>
<if test="orgCode!=null and loginTenantId==null"> <if test="orgCode!=null and loginTenantId==null">
org_code = #{orgCode} org_code = #{orgCode, jdbcType=VARCHAR}
</if> </if>
<if test="orgCode==null and loginTenantId==null"> <if test="orgCode==null and loginTenantId==null">
org_code = #{orgCode} org_code = #{orgCode, jdbcType=VARCHAR}
</if> </if>
where username = #{username} where username = #{username}
</update> </update>

View File

@ -0,0 +1 @@
update sys_depart set org_category = '2' where org_category ='1' and parent_id is not null

View File

@ -63,7 +63,6 @@
"path-to-regexp": "^6.3.0", "path-to-regexp": "^6.3.0",
"pinia": "2.1.7", "pinia": "2.1.7",
"print-js": "^1.6.0", "print-js": "^1.6.0",
"pinyin-pro": "^3.27.0",
"qs": "^6.14.0", "qs": "^6.14.0",
"qrcode": "^1.5.4", "qrcode": "^1.5.4",
"resize-observer-polyfill": "^1.5.1", "resize-observer-polyfill": "^1.5.1",
@ -142,7 +141,7 @@
"prettier": "^3.6.2", "prettier": "^3.6.2",
"pretty-quick": "^4.2.2", "pretty-quick": "^4.2.2",
"rimraf": "^5.0.10", "rimraf": "^5.0.10",
"rollup": "4.52.4", "rollup": "4.52.5",
"rollup-plugin-visualizer": "5.14.0", "rollup-plugin-visualizer": "5.14.0",
"stylelint": "^16.25.0", "stylelint": "^16.25.0",
"stylelint-config-prettier": "^9.0.5", "stylelint-config-prettier": "^9.0.5",
@ -167,7 +166,7 @@
"vite-plugin-qiankun": "^1.0.15", "vite-plugin-qiankun": "^1.0.15",
"@rys-fe/vite-plugin-theme": "^0.8.6", "@rys-fe/vite-plugin-theme": "^0.8.6",
"vite-plugin-vue-setup-extend-plus": "^0.1.0", "vite-plugin-vue-setup-extend-plus": "^0.1.0",
"unocss": "^66.5.2", "unocss": "^0.58.9",
"vue-eslint-parser": "^9.4.3", "vue-eslint-parser": "^9.4.3",
"vue-tsc": "^1.8.27", "vue-tsc": "^1.8.27",
"dingtalk-jsapi": "^3.2.0", "dingtalk-jsapi": "^3.2.0",

File diff suppressed because it is too large Load Diff