瀏覽代碼

@IPU_FIXBUG_2022@修复模板拼写错误

weihf 2 年之前
父節點
當前提交
a998109e2c

+ 2 - 2
qb-auth-server/src/main/java/com/ipu/logicflow/server/util/LogicFlowConfig.java

47
		modelPathMap.put("sec_menu", "flow/menu/model/sec_menu.xml");
47
		modelPathMap.put("sec_menu", "flow/menu/model/sec_menu.xml");
48
		modelPathMap.put("sec_priv_entity", "flow/menu/model/sec_priv_entity.xml");
48
		modelPathMap.put("sec_priv_entity", "flow/menu/model/sec_priv_entity.xml");
49
		modelPathMap.put("sec_role_grant", "flow/role/model/sec_role_grant.xml");
49
		modelPathMap.put("sec_role_grant", "flow/role/model/sec_role_grant.xml");
50
		modelPathMap.put("sec_user_rel", "flow/role/model/sec_user_rel.xml");
50
		modelPathMap.put("sec_role_user_rel", "flow/role/model/sec_role_user_rel.xml");
51
		modelPathMap.put("sec_role", "flow/role/model/sec_role.xml");
51
		modelPathMap.put("sec_role", "flow/role/model/sec_role.xml");
52
		Iterator<String> it = modelPathMap.values().iterator();
52
		Iterator<String> it = modelPathMap.values().iterator();
53
		while (it.hasNext()) {
53
		while (it.hasNext()) {
58
58
59
	public static void initFlow() {
59
	public static void initFlow() {
60
		flowPathMap.put("user_insert", "flow/user/user_insert.xml");
60
		flowPathMap.put("user_insert", "flow/user/user_insert.xml");
61
		flowPathMap.put("user_select", "flow/user/user_select.xml");
61
		//flowPathMap.put("user_select", "flow/user/user_select.xml");
62
		flowPathMap.put("user_select_by_name", "flow/user/user_select_by_name.xml");
62
		flowPathMap.put("user_select_by_name", "flow/user/user_select_by_name.xml");
63
		flowPathMap.put("user_select_by_cond", "flow/user/user_select_by_cond.xml");
63
		flowPathMap.put("user_select_by_cond", "flow/user/user_select_by_cond.xml");
64
		flowPathMap.put("user_update_by_cond", "flow/user/user_update_by_cond.xml");
64
		flowPathMap.put("user_update_by_cond", "flow/user/user_update_by_cond.xml");

+ 1 - 1
qb-auth-server/src/main/resources/dev/ipu-mybatis-config.xml

17
		<environment id="auth">
17
		<environment id="auth">
18
			<transactionManager type="jdbc" />
18
			<transactionManager type="jdbc" />
19
			<dataSource type="com.ai.ipu.database.datasource.DruidDataSourceFactory">
19
			<dataSource type="com.ai.ipu.database.datasource.DruidDataSourceFactory">
20
				<property name="jdbcUrl" value="jdbc:mysql://82.157.108.247:3306/test?useSSL=false&amp;characterEncoding=utf8" />
20
				<property name="jdbcUrl" value="jdbc:mysql://42.192.50.74:3306/test?useSSL=false&amp;characterEncoding=utf8" />
21
				<property name="username" value="ipu" />
21
				<property name="username" value="ipu" />
22
				<property name="password" value="ipumysql" />
22
				<property name="password" value="ipumysql" />
23
				<!-- 配置获取连接的等待超时时间 -->
23
				<!-- 配置获取连接的等待超时时间 -->

+ 1 - 1
qb-auth-server/src/test/java/com/ipu/logicflow/server/UserTest.java

41
    public void testSelectUser() {
41
    public void testSelectUser() {
42
        JMap param = new JsonMap();
42
        JMap param = new JsonMap();
43
        JSONObject user = new JSONObject();
43
        JSONObject user = new JSONObject();
44
        user.put("user_id", "308075");
44
        user.put("user_id", "359726");
45
        param.put("user", user);
45
        param.put("user", user);
46
        try{
46
        try{
47
            JMap result = LogicFlowEngine.execute("user_select", param);
47
            JMap result = LogicFlowEngine.execute("user_select", param);