提交 3e46a30e 编写于 作者: L lgcareer 提交者: qiaozhanwei

resole verify udf name error and delete udf error (#1024)

* rename from DatasourceUserMapper to DataSourceUserMapper

* add unit test in UserMapper and WorkerGroupMapper

* change cn.escheduler to org.apache.dolphinscheduler

* add unit test in UdfFuncMapperTest

* add unit test in UdfFuncMapperTest

* remove DatabaseConfiguration

* add ConnectionFactoryTest

* cal duration in processInstancesList

* change desc to description

* change table name in mysql ddl

* change table name in mysql ddl

* change escheduler to dolphinscheduler

* change escheduler to dolphinscheduler

* change escheduler to dolphinscheduler

* remove log4j-1.2-api and modify AlertMapperTest

* remove log4j-1.2-api

* Add alertDao to spring management

* Add alertDao to spring management

* get SqlSessionFactory from MybatisSqlSessionFactoryBean

* get processDao by DaoFactory

* read druid properties in ConneciontFactory

* read druid properties in ConneciontFactory

* change get alertDao by spring to DaoFactory

* add log4j to resolve #967

* resole verify udf name error and delete udf error
上级 b8ae782f
...@@ -297,7 +297,7 @@ public class UdfFuncService extends BaseService{ ...@@ -297,7 +297,7 @@ public class UdfFuncService extends BaseService{
* *
* @param id * @param id
*/ */
@Transactional(value = "TransactionManager", rollbackFor = Exception.class) @Transactional(value = "transactionManager",rollbackFor = Exception.class)
public Result delete(int id) { public Result delete(int id) {
Result result = new Result(); Result result = new Result();
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</foreach> </foreach>
</if> </if>
<if test="funcNames != null and funcNames != ''"> <if test="funcNames != null and funcNames != ''">
and func_name = #{funcName} and func_name = #{funcNames}
</if> </if>
order by id asc order by id asc
</select> </select>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册