Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
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
platform
hp-smart
Commits
fa245949
Commit
fa245949
authored
Sep 26, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.客户回访、客户投诉、客户关怀功能开发
parent
cd910d02
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
212 additions
and
4 deletions
+212
-4
HPFW004.java
src/main/java/com/baosight/hpjx/hp/fw/domain/HPFW004.java
+0
-0
HPFW004.xml
src/main/java/com/baosight/hpjx/hp/fw/sql/HPFW004.xml
+208
-0
HPFW002.js
src/main/webapp/HP/FW/HPFW002.js
+2
-2
HPFW002.jsp
src/main/webapp/HP/FW/HPFW002.jsp
+2
-2
No files found.
src/main/java/com/baosight/hpjx/hp/fw/domain/HPFW004.java
0 → 100644
View file @
fa245949
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hpjx/hp/fw/sql/HPFW004.xml
0 → 100644
View file @
fa245949
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<sqlMap
namespace=
"HPFW004"
>
<sql
id=
"column"
>
ID as "id",
<!-- ID -->
COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
DEP_CODE as "depCode",
<!-- 部门编码 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_NAME as "createdName",
<!-- 创建人名称 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 修改人 -->
UPDATED_NAME as "updatedName",
<!-- 修改人名称 -->
UPDATED_TIME as "updatedTime",
<!-- 修改时间 -->
DELETE_FLAG as "deleteFlag",
<!-- 是否删除 0-否1-是 -->
STATUS as "status",
<!-- 状态 -->
SUGGEST_DATE as "suggestDate",
<!-- 建议日期 -->
SUGGEST_NO as "suggestNo",
<!-- 建议单号 -->
CUSTOM_ID as "customId",
<!-- 客户ID -->
CUSTOM_NAME as "customName",
<!-- 客户名称 -->
SUGGEST_WAY as "suggestWay",
<!-- 建议方式 -->
SUGGEST_TYPE as "suggestType",
<!-- 建议类型 -->
SUGGEST_CONTENT as "suggestContent",
<!-- 建议内容 -->
DEAL_CONTENT as "dealContent",
<!-- 处理结果 -->
DEAL_USER_ID as "dealUserId",
<!-- 处理人ID -->
DEAL_USER_NAME as "dealUserName"
<!-- 处理人名称 -->
</sql>
<sql
id=
"condition"
>
AND DELETE_FLAG = 0
<include
refid=
"idCondition"
/>
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"createdBy"
>
CREATED_BY = #createdBy#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"createdName"
>
CREATED_NAME = #createdName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"createdTime"
>
CREATED_TIME = #createdTime#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"updatedBy"
>
UPDATED_BY = #updatedBy#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"updatedName"
>
UPDATED_NAME = #updatedName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"updatedTime"
>
UPDATED_TIME = #updatedTime#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"deleteFlag"
>
DELETE_FLAG = #deleteFlag#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"suggestDate"
>
SUGGEST_DATE = #suggestDate#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"customId"
>
CUSTOM_ID = #customId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"customName"
>
CUSTOM_NAME = #customName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"suggestWay"
>
SUGGEST_WAY = #suggestWay#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"suggestType"
>
SUGGEST_TYPE = #suggestType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"suggestContent"
>
SUGGEST_CONTENT = #suggestContent#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"dealContent"
>
DEAL_CONTENT = #dealContent#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"dealUserId"
>
DEAL_USER_ID = #dealUserId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"dealUserName"
>
DEAL_USER_NAME LIKE CONCAT('%', #dealUserName#, '%')
</isNotEmpty>
</sql>
<sql
id=
"idCondition"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"ids"
>
ID IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"ids"
>
#ids[]#
</iterate>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"suggestNo"
>
SUGGEST_NO = #suggestNo#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"suggestNos"
>
SUGGEST_NO IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"suggestNos"
>
#suggestNos[]#
</iterate>
</isNotEmpty>
</sql>
<sql
id=
"orderBy"
>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
ID DESC
</isEmpty>
</dynamic>
</sql>
<select
id=
"query"
resultClass=
"com.baosight.hpjx.hp.fw.domain.HPFW004"
>
SELECT
<include
refid=
"column"
/>
FROM ${hpjxSchema}.T_HPFW004
WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"orderBy"
/>
</select>
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM ${hpjxSchema}.T_HPFW004 WHERE 1=1
<include
refid=
"condition"
/>
</select>
<insert
id=
"insert"
>
INSERT INTO ${hpjxSchema}.T_HPFW004 (
COMPANY_CODE,
<!-- 公司编码 -->
DEP_CODE,
<!-- 部门编码 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_TIME,
<!-- 创建时间 -->
UPDATED_BY,
<!-- 修改人 -->
UPDATED_NAME,
<!-- 修改人名称 -->
UPDATED_TIME,
<!-- 修改时间 -->
DELETE_FLAG,
<!-- 是否删除 0-否1-是 -->
COMPLAINT_DATE,
<!-- 投诉日期 -->
COMPLAINT_NO,
<!-- 投诉单号 -->
STATUS,
<!-- 状态 -->
CUSTOM_ID,
<!-- 客户ID -->
CUSTOM_NAME,
<!-- 客户名称 -->
COMPLAINT_WAY,
<!-- 投诉方式 -->
COMPLAINT_TYPE,
<!-- 投诉类型 -->
COMPLAINT_CONTENT,
<!-- 投诉内容 -->
COMPLAINT_USER_ID,
<!-- 被投诉人ID -->
COMPLAINT_USER_NAME,
<!-- 被投诉人名称 -->
ACCEPT_USER_ID,
<!-- 受理人ID -->
ACCEPT_USER_NAME,
<!-- 受理人名称 -->
LAST_DATE,
<!-- 最后期限 -->
DEAL_CONTENT,
<!-- 处理结果 -->
DEAL_USER_ID,
<!-- 处理人ID -->
DEAL_USER_NAME
<!-- 处理人名称 -->
) VALUES (
#companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#,
#updatedName#, #updatedTime#, #deleteFlag#, #complaintDate#, #complaintNo#, #status#,
#customId#, #customName#, #complaintWay#, #complaintType#, #complaintContent#,
#complaintUserId#, #complaintUserName#, #acceptUserId#, #acceptUserName#,
#lastDate#, #dealContent#, #dealUserId#, #dealUserName#)
</insert>
<delete
id=
"delete"
>
UPDATE ${hpjxSchema}.T_HPFW004 SET DELETE_FLAG = 1 WHERE COMPLAINT_NO = #complaintNo#
</delete>
<update
id=
"update"
>
UPDATE ${hpjxSchema}.T_HPFW004
SET
COMPLAINT_DATE = #complaintDate#,
<!-- 投诉日期 -->
CUSTOM_ID = #customId#,
<!-- 客户ID -->
CUSTOM_NAME = #customName#,
<!-- 客户名称 -->
COMPLAINT_WAY = #complaintWay#,
<!-- 投诉方式 -->
COMPLAINT_TYPE = #complaintType#,
<!-- 投诉类型 -->
COMPLAINT_CONTENT = #complaintContent#,
<!-- 投诉内容 -->
COMPLAINT_USER_ID = #complaintUserId#,
<!-- 被投诉人ID -->
COMPLAINT_USER_NAME = #complaintUserName#,
<!-- 被投诉人名称 -->
ACCEPT_USER_ID = #acceptUserId#,
<!-- 受理人ID -->
ACCEPT_USER_NAME = #acceptUserName#,
<!-- 受理人名称 -->
LAST_DATE = #lastDate#,
<!-- 最后期限 -->
<include
refid=
"SqlBase.updateRevise"
/>
WHERE ID = #id#
</update>
<!-- 行锁 -->
<update
id=
"lock"
>
UPDATE ${hpjxSchema}.T_HPFW004
SET CREATED_TIME = CREATED_TIME
WHERE 1=1
<include
refid=
"idCondition"
/>
</update>
<!-- 修改 -->
<update
id=
"updateDeal"
>
UPDATE ${hpjxSchema}.T_HPFW004
SET
STATUS = #status#,
DEAL_USER_ID = #dealUserId#,
<!-- 处理人ID -->
DEAL_USER_NAME = #dealUserName#,
<!-- 处理人名称 -->
DEAL_CONTENT = #dealContent#,
<!-- 处理内容 -->
<include
refid=
"SqlBase.updateRevise"
/>
WHERE COMPLAINT_NO = #complaintNo#
</update>
</sqlMap>
src/main/webapp/HP/FW/HPFW002.js
View file @
fa245949
...
...
@@ -124,7 +124,7 @@ function deal(id) {
message
(
"请先勾选数据!"
);
return
;
}
JSUtils
.
confirm
(
"确定对勾选中的"
+
rows
.
length
+
"条数据做
\"
处理
\"
操作?"
,
{
JSUtils
.
confirm
(
"确定对勾选中的"
+
rows
.
length
+
"条数据做
\"
回访
\"
操作?"
,
{
ok
:
function
()
{
$
(
"#dealWindow"
).
data
(
"kendoWindow"
).
center
();
$
(
"#dealWindow"
).
data
(
"kendoWindow"
).
open
();
...
...
@@ -138,7 +138,7 @@ function deal(id) {
function
dealConfirm
()
{
let
content
=
$
(
"#deal-0-content"
).
val
();
if
(
isBlank
(
content
))
{
message
(
"请输入
反馈
内容"
);
message
(
"请输入
回访
内容"
);
return
;
}
let
inInfo
=
new
EiInfo
();
...
...
src/main/webapp/HP/FW/HPFW002.jsp
View file @
fa245949
...
...
@@ -62,10 +62,10 @@
</EF:EFPage>
<EF:EFWindow
id=
"dealWindow"
title=
"
反馈
内容"
width=
"50%"
height=
"30%"
>
<EF:EFWindow
id=
"dealWindow"
title=
"
回访
内容"
width=
"50%"
height=
"30%"
>
<EF:EFRegion
id=
"deal"
title=
""
>
<div
class=
"row"
>
<EF:EFInput
blockId=
"deal"
row=
"0"
ename=
"content"
cname=
"
反馈
内容"
colWidth=
"12"
ratio=
"2:10"
<EF:EFInput
blockId=
"deal"
row=
"0"
ename=
"content"
cname=
"
回访
内容"
colWidth=
"12"
ratio=
"2:10"
type=
"textarea"
rows=
"4"
required=
"true"
/>
</div>
</EF:EFRegion>
...
...
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