Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5lcyq
Overview
Overview
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
管理员
jfV5lcyq
Commits
3a64b38a
Commit
3a64b38a
authored
Jul 17, 2018
by
罗绍泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
69984822
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
4 deletions
+10
-4
com.baidu.ueditor-1.1.2-offical.jar
WebContent/WEB-INF/lib/com.baidu.ueditor-1.1.2-offical.jar
+0
-0
formmodelTab.js
WebContent/process/pages/formmodel/js/formmodelTab.js
+1
-2
formfieldDAO.xml
src_process/com/gaowj/business/formfield/formfieldDAO.xml
+4
-1
FormtableBusinessImpl.java
...s/com/gaowj/business/formtable/FormtableBusinessImpl.java
+2
-0
formtableDAO.xml
src_process/com/gaowj/business/formtable/formtableDAO.xml
+3
-1
No files found.
WebContent/WEB-INF/lib/com.baidu.ueditor-1.1.2-offical.jar
0 → 100644
View file @
3a64b38a
File added
WebContent/process/pages/formmodel/js/formmodelTab.js
View file @
3a64b38a
...
@@ -181,8 +181,7 @@ function updateData(is_entity){
...
@@ -181,8 +181,7 @@ function updateData(is_entity){
var
ue
=
UE
.
getEditor
(
'ueditId'
);
var
ue
=
UE
.
getEditor
(
'ueditId'
);
is_entity
.
FIELD_MODEL_CONTENT
=
ue
.
getContent
();
is_entity
.
FIELD_MODEL_CONTENT
=
ue
.
getContent
();
console
.
log
(
is_entity
);
delete
is_entity
.
FIELD_ueditValue
;
return
;
v_result
=
formmodelModule
.
act
.
updateFormModel
(
is_entity
);
v_result
=
formmodelModule
.
act
.
updateFormModel
(
is_entity
);
$
(
'#list'
).
datagrid
(
'reload'
);
$
(
'#list'
).
datagrid
(
'reload'
);
return
v_result
;
return
v_result
;
...
...
src_process/com/gaowj/business/formfield/formfieldDAO.xml
View file @
3a64b38a
...
@@ -12,6 +12,9 @@
...
@@ -12,6 +12,9 @@
<if
test=
"IS_SHOW_LIST != null and IS_SHOW_LIST != ''"
>
<if
test=
"IS_SHOW_LIST != null and IS_SHOW_LIST != ''"
>
and f.IS_SHOW_LIST = #{IS_SHOW_LIST}
and f.IS_SHOW_LIST = #{IS_SHOW_LIST}
</if>
</if>
<if
test=
"DELETE_FLAG != null and DELETE_FLAG != ''"
>
and f.DELETE_FLAG = #{DELETE_FLAG}
</if>
</trim>
</trim>
</sql>
</sql>
<insert
id=
"insert_form_field"
parameterType=
"map"
>
<insert
id=
"insert_form_field"
parameterType=
"map"
>
...
@@ -68,7 +71,7 @@
...
@@ -68,7 +71,7 @@
<select
id=
"list_form_field"
parameterType=
"map"
resultType=
"upperCaseKeyMap"
>
<select
id=
"list_form_field"
parameterType=
"map"
resultType=
"upperCaseKeyMap"
>
<![CDATA[
<![CDATA[
select f.*
select f.*
from C_T_FORM_FIELD f
where DELETE_FLAG=0
from C_T_FORM_FIELD f
]]>
]]>
<include
refid=
"Where_Clause"
/>
<include
refid=
"Where_Clause"
/>
order by f.CREATE_TIME DESC
order by f.CREATE_TIME DESC
...
...
src_process/com/gaowj/business/formtable/FormtableBusinessImpl.java
View file @
3a64b38a
...
@@ -87,6 +87,8 @@ public class FormtableBusinessImpl implements FormtableBusiness {
...
@@ -87,6 +87,8 @@ public class FormtableBusinessImpl implements FormtableBusiness {
if
(
query
.
get
(
"TABLE_NAME"
)!=
null
&&
""
!=
query
.
get
(
"TABLE_NAME"
)){
if
(
query
.
get
(
"TABLE_NAME"
)!=
null
&&
""
!=
query
.
get
(
"TABLE_NAME"
)){
query
.
put
(
"TABLE_NAME"
,
"%"
+
query
.
get
(
"TABLE_NAME"
)+
"%"
);
query
.
put
(
"TABLE_NAME"
,
"%"
+
query
.
get
(
"TABLE_NAME"
)+
"%"
);
}
}
//默认选择逻辑删,未删除的
query
.
put
(
"DELETE_FLAG"
,
0
);
// 获取列表
// 获取列表
List
<
Map
<
String
,
Object
>>
items
=
formtableDAO
.
list_form_table
(
new
RowBounds
(
pageStart
,
pageSize
),
query
);
List
<
Map
<
String
,
Object
>>
items
=
formtableDAO
.
list_form_table
(
new
RowBounds
(
pageStart
,
pageSize
),
query
);
// 获取列表个数
// 获取列表个数
...
...
src_process/com/gaowj/business/formtable/formtableDAO.xml
View file @
3a64b38a
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
<mapper
namespace=
"com.gaowj.business.formtable.formtableDAO"
>
<mapper
namespace=
"com.gaowj.business.formtable.formtableDAO"
>
<sql
id=
"Where_Clause"
>
<sql
id=
"Where_Clause"
>
<trim
prefix=
"WHERE"
prefixOverrides=
"AND |OR"
>
<trim
prefix=
"WHERE"
prefixOverrides=
"AND |OR"
>
and f.DELETE_FLAG=0
<if
test=
"DELETE_FLAG != null and DELETE_FLAG != ''"
>
and f.DELETE_FLAG=#{DELETE_FLAG}
</if>
<if
test=
"UUID != null and UUID != ''"
>
<if
test=
"UUID != null and UUID != ''"
>
and f.UUID = #{UUID}
and f.UUID = #{UUID}
</if>
</if>
...
...
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