Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
邬友楠
test
Commits
ae810cb7
Commit
ae810cb7
authored
Apr 15, 2020
by
雍欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复:easy-search-bpm.xml 中procApprovalElement没有加表别名导致MySQL查询出错
parent
6b511073
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
JDBCDaoImpl.java
.../src/main/java/com/huigou/data/jdbc/impl/JDBCDaoImpl.java
+1
-0
easy-search-bpm.xml
...n/resources/config/content/easysearch/easy-search-bpm.xml
+1
-1
No files found.
huigou-data/src/main/java/com/huigou/data/jdbc/impl/JDBCDaoImpl.java
View file @
ae810cb7
...
...
@@ -257,6 +257,7 @@ public class JDBCDaoImpl implements JDBCDao {
* @return
* @throws Exception
*/
@Override
public
<
T
>
T
queryToObjectByMapParam
(
String
sql
,
Class
<
T
>
cls
,
Map
<
String
,
Object
>
param
)
{
ParseSQLParam
parser
=
this
.
getParseSqlParam
(
sql
,
param
);
return
queryToObject
(
parser
.
getParseSql
(),
cls
,
parser
.
getValues
().
toArray
());
...
...
huigou-uasp/src/main/resources/config/content/easysearch/easy-search-bpm.xml
View file @
ae810cb7
...
...
@@ -22,7 +22,7 @@
and p.proc_id = d.id
and d.proc_id = :procKey
and d.code = :procUnitId
)
)
__wf_approvalelement__
</sql>
<orderby>
sequence desc
</orderby>
<field
name=
"id"
code=
"id"
type=
'hidden'
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment