Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-liyeyun-admin
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
cfld-backend
cfld-liyeyun-admin
Commits
b55c46d4
Commit
b55c46d4
authored
Dec 28, 2023
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开发区产业园提交时间倒叙
parent
6fa86cca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
DevelopmentInfoMapper.xml
...esources/mapper/developmentInfo/DevelopmentInfoMapper.xml
+2
-0
ParkInfoMapper.xml
...tem/src/main/resources/mapper/parkinfo/ParkInfoMapper.xml
+2
-0
info.html
...stem/src/main/resources/templates/parkInfo/info/info.html
+28
-0
No files found.
ruoyi-system/src/main/resources/mapper/developmentInfo/DevelopmentInfoMapper.xml
View file @
b55c46d4
...
@@ -261,6 +261,7 @@
...
@@ -261,6 +261,7 @@
<include
refid=
"selectDevelopmentInfoVo"
/>
<include
refid=
"selectDevelopmentInfoVo"
/>
<include
refid=
"where"
></include>
<include
refid=
"where"
></include>
<if
test=
"status != null "
>
and status = #{status}
</if>
<if
test=
"status != null "
>
and status = #{status}
</if>
order by submit_time desc
</select>
</select>
<select
id=
"selectDevelopmentInfoById"
parameterType=
"Long"
resultMap=
"DevelopmentInfoResult"
>
<select
id=
"selectDevelopmentInfoById"
parameterType=
"Long"
resultMap=
"DevelopmentInfoResult"
>
...
@@ -271,6 +272,7 @@
...
@@ -271,6 +272,7 @@
<include
refid=
"selectDevelopmentInfoVo"
/>
<include
refid=
"selectDevelopmentInfoVo"
/>
<include
refid=
"where"
></include>
<include
refid=
"where"
></include>
<if
test=
"status != null "
>
and status != #{status}
</if>
<if
test=
"status != null "
>
and status != #{status}
</if>
order by submit_time desc
</select>
</select>
<insert
id=
"insertDevelopmentInfo"
parameterType=
"DevelopmentInfo"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insertDevelopmentInfo"
parameterType=
"DevelopmentInfo"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
...
...
ruoyi-system/src/main/resources/mapper/parkinfo/ParkInfoMapper.xml
View file @
b55c46d4
...
@@ -228,6 +228,7 @@
...
@@ -228,6 +228,7 @@
<include
refid=
"where"
></include>
<include
refid=
"where"
></include>
<if
test=
"status != null "
>
and status = #{status}
</if>
<if
test=
"status != null "
>
and status = #{status}
</if>
and status != 9
and status != 9
order by submit_time desc
</select>
</select>
<select
id=
"selectParkInfoById"
parameterType=
"Long"
resultMap=
"ParkInfoResult"
>
<select
id=
"selectParkInfoById"
parameterType=
"Long"
resultMap=
"ParkInfoResult"
>
...
@@ -534,6 +535,7 @@
...
@@ -534,6 +535,7 @@
<include
refid=
"selectParkInfoVo"
/>
<include
refid=
"selectParkInfoVo"
/>
<include
refid=
"where"
></include>
<include
refid=
"where"
></include>
<if
test=
"status != null "
>
and status != #{status}
</if>
<if
test=
"status != null "
>
and status != #{status}
</if>
order by submit_time desc
</select>
</select>
...
...
ruoyi-system/src/main/resources/templates/parkInfo/info/info.html
View file @
b55c46d4
...
@@ -30,6 +30,14 @@
...
@@ -30,6 +30,14 @@
th:value=
"${dict.dictValue}"
></option>
th:value=
"${dict.dictValue}"
></option>
</select>
</select>
</li>
</li>
<li
style=
"display: none"
>
<label>
所属开发区id:
</label>
<input
type=
"text"
id=
"zoneId"
name=
"zoneId"
/>
</li>
<li>
<label>
所属开发区:
</label>
<input
type=
"text"
id=
"developmentName"
name=
"developmentName"
onclick=
"selectType()"
/>
</li>
<li>
<li>
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"$.table.search()"
><i
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"$.table.search()"
><i
class=
"fa fa-search"
></i>
搜索
</a>
class=
"fa fa-search"
></i>
搜索
</a>
...
@@ -441,6 +449,26 @@
...
@@ -441,6 +449,26 @@
}
}
});
});
}
}
function
selectType
(){
var
options
=
{
title
:
'选择'
,
url
:
"carousel/info"
+
"/selectType?type=1"
,
callBack
:
doSubmit2
};
$
.
modal
.
openOptions
(
options
);
}
function
doSubmit2
(
index
,
layero
){
var
rows
=
layero
.
find
(
"iframe"
)[
0
].
contentWindow
.
getSelections
();
if
(
rows
.
length
==
0
)
{
$
.
modal
.
alertWarning
(
"请至少选择一条记录"
);
return
;
}
$
(
'#developmentName'
).
val
(
rows
.
name
);
$
(
'#zoneId'
).
val
(
rows
.
id
);
$
.
modal
.
close
(
index
);
}
</script>
</script>
</body>
</body>
</html>
</html>
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