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
2db292cb
Commit
2db292cb
authored
Jan 09, 2024
by
“zhangzhichao_123”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix():新增客户样例'
parent
d97c9b63
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
807 additions
and
18 deletions
+807
-18
pom.xml
pom.xml
+155
-1
Thppz001.java
...main/java/com/baosight/iplat4j/hp/pz/domain/Thppz001.java
+278
-0
package-info.java
.../java/com/baosight/iplat4j/hp/pz/domain/package-info.java
+0
-2
ServiceHPPZ001.java
...va/com/baosight/iplat4j/hp/pz/service/ServiceHPPZ001.java
+122
-0
package-info.java
...java/com/baosight/iplat4j/hp/pz/service/package-info.java
+0
-2
HPPZ001.xml
src/main/java/com/baosight/iplat4j/hp/pz/sql/HPPZ001.xml
+110
-0
package-info.java
...ain/java/com/baosight/iplat4j/hp/pz/sql/package-info.java
+0
-2
package-info.java
...in/resources/META-INF/resources/HP/DEMO/package-info.java
+0
-2
package-info.java
...main/resources/META-INF/resources/HP/KC/package-info.java
+0
-2
package-info.java
...main/resources/META-INF/resources/HP/PZ/package-info.java
+0
-2
package-info.java
...main/resources/META-INF/resources/HP/SC/package-info.java
+0
-2
package-info.java
...main/resources/META-INF/resources/HP/ZL/package-info.java
+0
-2
application.properties
src/main/resources/application.properties
+1
-1
EEDM02.js
src/main/webapp/HP/DEMO/EEDM02.js
+0
-0
EEDM02.jsp
src/main/webapp/HP/DEMO/EEDM02.jsp
+0
-0
package-info.java
src/main/webapp/HP/DEMO/package-info.java
+0
-0
HPPZ001.js
src/main/webapp/HP/PZ/HPPZ001.js
+26
-0
HPPZ001.jsp
src/main/webapp/HP/PZ/HPPZ001.jsp
+115
-0
No files found.
pom.xml
View file @
2db292cb
...
...
@@ -141,7 +141,161 @@
</dependencies>
<build>
<finalName>
hp-smart
</finalName>
<resources>
<resource>
<directory>
src/main/java
</directory>
<includes>
<include>
**/*.xml
</include>
</includes>
</resource>
<resource>
<directory>
src/main/resources
</directory>
<filtering>
false
</filtering>
<includes>
<include>
**/*
</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<!--用以打war包-->
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-war-plugin
</artifactId>
<version>
3.2.2
</version>
<configuration>
<warSourceExcludes>
src/main/resources/META-INF/**
</warSourceExcludes>
<packagingExcludes>
WEB-INF/classes/META-INF/**
</packagingExcludes>
<webResources>
<resource>
<directory>
src/main/resources/META-INF/resources
</directory>
<filtering>
false
</filtering>
<targetPath>
/
</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<!--拷贝资源文件 copy-resources-->
<artifactId>
maven-resources-plugin
</artifactId>
<executions>
<execution>
<id>
copy-resources
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>
src/main/webapp
</directory>
<excludes>
<exclude>
WEB-INF/**
</exclude>
</excludes>
</resource>
</resources>
<outputDirectory>
${project.build.directory}/classes/META-INF/resources
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
2.4
</version>
<configuration>
<excludes>
<exclude>
**/Iplat4jApplication.class
</exclude>
<exclude>
**/application.properties
</exclude>
<exclude>
**/quartz.properties
</exclude>
<exclude>
**/log4j2.xml
</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>
make-a-jar
</id>
<phase>
package
</phase>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!--用于更新本地.m2文件夹的包-->
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-install-plugin
</artifactId>
<executions>
<execution>
<phase>
install
</phase>
<goals>
<goal>
install-file
</goal>
</goals>
<configuration>
<packaging>
jar
</packaging>
<artifactId>
${project.artifactId}
</artifactId>
<groupId>
${project.groupId}
</groupId>
<version>
${project.version}
</version>
<!--需要制定到jar目录-->
<file>
${project.build.directory}/${project.build.finalName}.jar
</file>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!--用来发布到nexus资源库中-->
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<executions>
<execution>
<phase>
deploy
</phase>
<goals>
<goal>
deploy-file
</goal>
</goals>
<configuration>
<!--设定为jar文件,并且上传jar文件-->
<packaging>
jar
</packaging>
<file>
${project.build.directory}/${project.build.finalName}.jar
</file>
<!--上传pom文件,pom包含依赖关系-->
<generatePom>
false
</generatePom>
<pomFile>
${basedir}/pom.xml
</pomFile>
<!--上传maven库的url,如果是snapshot,需要把 repository 替换成为 snapshotRepository -->
<repositoryId>
${project.distributionManagement.snapshotRepository.id}
</repositoryId>
<url>
${project.distributionManagement.snapshotRepository.url}
</url>
<!--项目工程三围,上传maven必须要有-->
<artifactId>
${project.artifactId}
</artifactId>
<groupId>
${project.groupId}
</groupId>
<version>
${project.version}
</version>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.jacoco
</groupId>
<artifactId>
jacoco-maven-plugin
</artifactId>
<version>
0.7.8
</version>
<executions>
<execution>
<id>
default-prepare-agent
</id>
<goals>
<goal>
prepare-agent
</goal>
</goals>
</execution>
<execution>
<id>
default-report
</id>
<goals>
<goal>
report
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
...
...
src/main/java/com/baosight/iplat4j/hp/pz/domain/Thppz001.java
0 → 100644
View file @
2db292cb
/**
* Generate time : 2024-01-09 10:04:30
* Version : 1.0
*/
package
com
.
baosight
.
iplat4j
.
hp
.
pz
.
domain
;
import
com.baosight.iplat4j.core.util.NumberUtils
;
import
com.baosight.iplat4j.core.ei.EiColumn
;
import
com.baosight.iplat4j.core.data.DaoEPBase
;
import
java.util.HashMap
;
import
java.util.Map
;
import
com.baosight.iplat4j.core.util.StringUtils
;
/**
* THppz001
*
*/
public
class
Thppz001
extends
DaoEPBase
{
private
Long
id
=
0L
;
private
String
companyCode
=
" "
;
/* 企业编码 预留*/
private
Boolean
custClassify
;
/* 客商名称 1:供应商; 2:客户;*/
private
String
custCode
=
" "
;
/* 客商类型编码*/
private
Boolean
custType
;
/* 客商类型 1:国企;2:民营;*/
private
Boolean
status
;
/* 状态 0未启用 1启用*/
private
String
createdBy
=
" "
;
/* 创建人*/
private
String
createdTime
=
" "
;
/* 创建时间*/
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
/**
* initialize the metadata
*/
public
void
initMetaData
()
{
EiColumn
eiColumn
;
eiColumn
=
new
EiColumn
(
"id"
);
eiColumn
.
setPrimaryKey
(
true
);
eiColumn
.
setDescName
(
" "
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"companyCode"
);
eiColumn
.
setDescName
(
"企业编码 预留"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"custClassify"
);
eiColumn
.
setDescName
(
"客商名称 1:供应商; 2:客户;"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"custCode"
);
eiColumn
.
setDescName
(
"客商类型编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"custType"
);
eiColumn
.
setDescName
(
"客商类型 1:国企;2:民营;"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"status"
);
eiColumn
.
setDescName
(
"状态 0未启用 1启用"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"createdBy"
);
eiColumn
.
setDescName
(
"创建人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"createdTime"
);
eiColumn
.
setDescName
(
"创建时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"updatedBy"
);
eiColumn
.
setDescName
(
"更新人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"updatedTime"
);
eiColumn
.
setDescName
(
"更新时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
/**
* the constructor
*/
public
Thppz001
()
{
initMetaData
();
}
/**
* get the id
* @return the id
*/
public
Long
getId
()
{
return
this
.
id
;
}
/**
* set the id
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* get the companyCode - 企业编码 预留
* @return the companyCode
*/
public
String
getCompanyCode
()
{
return
this
.
companyCode
;
}
/**
* set the companyCode - 企业编码 预留
*/
public
void
setCompanyCode
(
String
companyCode
)
{
this
.
companyCode
=
companyCode
;
}
/**
* get the custClassify - 客商名称 1:供应商; 2:客户;
* @return the custClassify
*/
public
Boolean
getCustClassify
()
{
return
this
.
custClassify
;
}
/**
* set the custClassify - 客商名称 1:供应商; 2:客户;
*/
public
void
setCustClassify
(
Boolean
custClassify
)
{
this
.
custClassify
=
custClassify
;
}
/**
* get the custCode - 客商类型编码
* @return the custCode
*/
public
String
getCustCode
()
{
return
this
.
custCode
;
}
/**
* set the custCode - 客商类型编码
*/
public
void
setCustCode
(
String
custCode
)
{
this
.
custCode
=
custCode
;
}
/**
* get the custType - 客商类型 1:国企;2:民营;
* @return the custType
*/
public
Boolean
getCustType
()
{
return
this
.
custType
;
}
/**
* set the custType - 客商类型 1:国企;2:民营;
*/
public
void
setCustType
(
Boolean
custType
)
{
this
.
custType
=
custType
;
}
/**
* get the status - 状态 0未启用 1启用
* @return the status
*/
public
Boolean
getStatus
()
{
return
this
.
status
;
}
/**
* set the status - 状态 0未启用 1启用
*/
public
void
setStatus
(
Boolean
status
)
{
this
.
status
=
status
;
}
/**
* get the createdBy - 创建人
* @return the createdBy
*/
public
String
getCreatedBy
()
{
return
this
.
createdBy
;
}
/**
* set the createdBy - 创建人
*/
public
void
setCreatedBy
(
String
createdBy
)
{
this
.
createdBy
=
createdBy
;
}
/**
* get the createdTime - 创建时间
* @return the createdTime
*/
public
String
getCreatedTime
()
{
return
this
.
createdTime
;
}
/**
* set the createdTime - 创建时间
*/
public
void
setCreatedTime
(
String
createdTime
)
{
this
.
createdTime
=
createdTime
;
}
/**
* get the updatedBy - 更新人
* @return the updatedBy
*/
public
String
getUpdatedBy
()
{
return
this
.
updatedBy
;
}
/**
* set the updatedBy - 更新人
*/
public
void
setUpdatedBy
(
String
updatedBy
)
{
this
.
updatedBy
=
updatedBy
;
}
/**
* get the updatedTime - 更新时间
* @return the updatedTime
*/
public
String
getUpdatedTime
()
{
return
this
.
updatedTime
;
}
/**
* set the updatedTime - 更新时间
*/
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
}
/**
* get the value from Map
*/
public
void
fromMap
(
Map
map
)
{
setId
(
NumberUtils
.
toLong
(
StringUtils
.
toString
(
map
.
get
(
"id"
)),
id
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"companyCode"
)),
companyCode
));
setCustClassify
(
NumberUtils
.
toBoolean
(
StringUtils
.
toString
(
map
.
get
(
"custClassify"
)),
custClassify
));
setCustCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"custCode"
)),
custCode
));
setCustType
(
NumberUtils
.
toBoolean
(
StringUtils
.
toString
(
map
.
get
(
"custType"
)),
custType
));
setStatus
(
NumberUtils
.
toBoolean
(
StringUtils
.
toString
(
map
.
get
(
"status"
)),
status
));
setCreatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"createdBy"
)),
createdBy
));
setCreatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"createdTime"
)),
createdTime
));
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"updatedBy"
)),
updatedBy
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"updatedTime"
)),
updatedTime
));
}
/**
* set the value to Map
*/
public
Map
toMap
()
{
Map
map
=
new
HashMap
();
map
.
put
(
"id"
,
StringUtils
.
toString
(
id
,
eiMetadata
.
getMeta
(
"id"
)));
map
.
put
(
"companyCode"
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
"companyCode"
)));
map
.
put
(
"custClassify"
,
StringUtils
.
toString
(
custClassify
,
eiMetadata
.
getMeta
(
"custClassify"
)));
map
.
put
(
"custCode"
,
StringUtils
.
toString
(
custCode
,
eiMetadata
.
getMeta
(
"custCode"
)));
map
.
put
(
"custType"
,
StringUtils
.
toString
(
custType
,
eiMetadata
.
getMeta
(
"custType"
)));
map
.
put
(
"status"
,
StringUtils
.
toString
(
status
,
eiMetadata
.
getMeta
(
"status"
)));
map
.
put
(
"createdBy"
,
StringUtils
.
toString
(
createdBy
,
eiMetadata
.
getMeta
(
"createdBy"
)));
map
.
put
(
"createdTime"
,
StringUtils
.
toString
(
createdTime
,
eiMetadata
.
getMeta
(
"createdTime"
)));
map
.
put
(
"updatedBy"
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
"updatedBy"
)));
map
.
put
(
"updatedTime"
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
"updatedTime"
)));
return
map
;
}
}
\ No newline at end of file
src/main/java/com/baosight/iplat4j/hp/pz/domain/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
pz
.
domain
;
\ No newline at end of file
src/main/java/com/baosight/iplat4j/hp/pz/service/ServiceHPPZ001.java
0 → 100644
View file @
2db292cb
package
com
.
baosight
.
iplat4j
.
hp
.
pz
.
service
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.exception.PlatException
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
com.baosight.iplat4j.hp.pz.domain.Thppz001
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
*
*/
public
class
ServiceHPPZ001
extends
ServiceBase
{
/**
* 画面初始化.
*/
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
Thppz001
hppz001
=
new
Thppz001
();
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
hppz001
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
hppz001
.
eiMetadata
);
return
inInfo
;
}
/**
* 查询操作.
*/
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
EiInfo
outInfo
=
super
.
query
(
inInfo
,
"HPPZ001.query"
,
new
Thppz001
());
return
outInfo
;
}
/**
* 新增操作.
*/
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
Thppz001
hppz001
=
new
Thppz001
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz001
.
fromMap
(
map
);
this
.
dao
.
insert
(
"HPPZ001.insert"
,
hppz001
.
toMap
());
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"新增成功!"
);
}
catch
(
PlatException
e
)
{
e
.
printStackTrace
();
inInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
inInfo
.
setMsg
(
"新增失败!原因参见详细错误描述!"
);
inInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"新增失败"
,
e
.
getMessage
());
return
inInfo
;
}
return
inInfo
;
}
/**
* 修改操作.
*/
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
Thppz001
hppz001
=
new
Thppz001
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz001
.
fromMap
(
map
);
this
.
dao
.
update
(
"HPPZ001.update"
,
hppz001
.
toMap
());
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"修改成功!"
);
}
catch
(
PlatException
e
)
{
inInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
inInfo
.
setMsg
(
"操作失败!原因参见详细错误描述!"
);
inInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"修改失败"
,
e
.
getMessage
());
return
inInfo
;
}
return
query
(
inInfo
);
}
/**
* 删除操作.
*/
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
Thppz001
hppz001
=
new
Thppz001
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
try
{
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz001
.
fromMap
(
map
);
this
.
dao
.
delete
(
"Thppz001.delete"
,
hppz001
.
toMap
());
}
}
catch
(
PlatException
e
)
{
eiInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
eiInfo
.
setMsg
(
"删除失败,原因参见详细错误描述!"
);
eiInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"删除失败!"
,
e
.
getMessage
());
return
eiInfo
;
}
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setMsg
(
"删除成功!"
);
return
eiInfo
;
}
}
src/main/java/com/baosight/iplat4j/hp/pz/service/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
pz
.
service
;
\ No newline at end of file
src/main/java/com/baosight/iplat4j/hp/pz/sql/HPPZ001.xml
0 → 100644
View file @
2db292cb
<?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=
"HPPZ001"
>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.iplat4j.hp.pz.domain.Thppz001"
>
SELECT
ID as "id",
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
CUST_CLASSIFY as "custClassify",
<!-- 客商名称 1:供应商; 2:客户; -->
CUST_CODE as "custCode",
<!-- 客商类型编码 -->
CUST_TYPE as "custType",
<!-- 客商类型 1:国企;2:民营; -->
STATUS as "status",
<!-- 状态 0未启用 1启用 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_TIME as "updatedTime"
<!-- 更新时间 -->
FROM hpjx.t_hppz001
WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<isEmpty
property=
"orderBy"
>
ID asc
</isEmpty>
</dynamic>
</select>
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM hpjx.t_hppz001 WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
</select>
<!--
<isNotEmpty prepend=" AND " property="id">
ID = #id#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="custClassify">
CUST_CLASSIFY = #custClassify#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="custCode">
CUST_CODE = #custCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="custType">
CUST_TYPE = #custType#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="status">
STATUS = #status#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdBy">
CREATED_BY = #createdBy#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdTime">
CREATED_TIME = #createdTime#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedBy">
UPDATED_BY = #updatedBy#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedTime">
UPDATED_TIME = #updatedTime#
</isNotEmpty>
-->
<insert
id=
"insert"
>
INSERT INTO hpjx.t_hppz001 (ID,
COMPANY_CODE,
<!-- 企业编码 预留 -->
CUST_CLASSIFY,
<!-- 客商名称 1:供应商; 2:客户; -->
CUST_CODE,
<!-- 客商类型编码 -->
CUST_TYPE,
<!-- 客商类型 1:国企;2:民营; -->
STATUS,
<!-- 状态 0未启用 1启用 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_TIME,
<!-- 创建时间 -->
UPDATED_BY,
<!-- 更新人 -->
UPDATED_TIME
<!-- 更新时间 -->
)
VALUES (#id#, #companyCode#, #custClassify#, #custCode#, #custType#, #status#, #createdBy#, #createdTime#,
#updatedBy#, #updatedTime#)
</insert>
<delete
id=
"delete"
>
DELETE FROM hpjx.t_hppz001 WHERE
ID = #id#
</delete>
<update
id=
"update"
>
UPDATE hpjx.t_hppz001
SET
COMPANY_CODE = #companyCode#,
<!-- 企业编码 预留 -->
CUST_CLASSIFY = #custClassify#,
<!-- 客商名称 1:供应商; 2:客户; -->
CUST_CODE = #custCode#,
<!-- 客商类型编码 -->
CUST_TYPE = #custType#,
<!-- 客商类型 1:国企;2:民营; -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
CREATED_BY = #createdBy#,
<!-- 创建人 -->
CREATED_TIME = #createdTime#,
<!-- 创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_TIME = #updatedTime#
<!-- 更新时间 -->
WHERE
ID = #id#
</update>
</sqlMap>
\ No newline at end of file
src/main/java/com/baosight/iplat4j/hp/pz/sql/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
pz
.
sql
;
\ No newline at end of file
src/main/resources/META-INF/resources/HP/DEMO/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
kc
.
domain
;
\ No newline at end of file
src/main/resources/META-INF/resources/HP/KC/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
kc
.
domain
;
\ No newline at end of file
src/main/resources/META-INF/resources/HP/PZ/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
kc
.
domain
;
\ No newline at end of file
src/main/resources/META-INF/resources/HP/SC/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
kc
.
domain
;
\ No newline at end of file
src/main/resources/META-INF/resources/HP/ZL/package-info.java
deleted
100644 → 0
View file @
d97c9b63
package
com
.
baosight
.
iplat4j
.
hp
.
kc
.
domain
;
\ No newline at end of file
src/main/resources/application.properties
View file @
2db292cb
...
...
@@ -16,7 +16,7 @@ spring.servlet.multipart.file-size-threshold =0
#\u9879\u76EE\u540D\u79F0
projectName
=
iplat
_smart
projectName
=
iplat
4j
moduleName
=
ep
projectEnv
=
dev
platSchema
=
iplat
...
...
src/main/
resources/META-INF/resources
/HP/DEMO/EEDM02.js
→
src/main/
webapp
/HP/DEMO/EEDM02.js
View file @
2db292cb
File moved
src/main/
resources/META-INF/resources
/HP/DEMO/EEDM02.jsp
→
src/main/
webapp
/HP/DEMO/EEDM02.jsp
View file @
2db292cb
File moved
src/main/
java/com/baosight/iplat4j/hp/kc/domain
/package-info.java
→
src/main/
webapp/HP/DEMO
/package-info.java
View file @
2db292cb
File moved
src/main/webapp/HP/PZ/HPPZ001.js
0 → 100644
View file @
2db292cb
$
(
function
()
{
$
(
"#QUERY"
).
on
(
"click"
,
function
()
{
resultGrid
.
dataSource
.
page
(
1
);
});
IPLATUI
.
EFGrid
.
result
=
{
pageable
:
{
pageSize
:
20
,
pageSizes
:
[
20
,
50
,
70
,
100
],
},
columns
:
[
{
field
:
"money"
,
valueType
:
"N"
,
//小计设置
type
:
"N"
,
},
{
field
:
"assessmentAmount"
,
valueType
:
"N"
,
//小计设置
type
:
"N"
,
}
]
}
});
\ No newline at end of file
src/main/webapp/HP/PZ/HPPZ001.jsp
0 → 100644
View file @
2db292cb
<!DOCTYPE html>
<
%@
page
contentType=
"text/html; charset=UTF-8"
%
>
<
%@
taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%
>
<
%@
taglib
prefix=
"EF"
tagdir=
"/WEB-INF/tags/EF"
%
>
<c:set
var=
"ctx"
value=
"${pageContext.request.contextPath}"
/>
<head>
<
%
--
<
link
rel=
"stylesheet"
href=
"${ctx}/css/simulatedOperation.css"
/>
--%>
</head>
<EF:EFPage
title=
"设备索赔"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
><
%
--
type=
"query"
efRegionShowClear=
"true"
efRegionSave=
"true"
--
%
>
<div
class=
"row"
>
<
%
--
blockId=
"inqu_status"
row=
"0"
--
%
>
<EF:EFInput
blockId=
"inqu_status"
ename=
"code"
cname=
"代码:"
row=
"0"
/>
<EF:EFSelect
cname=
"被索赔班组:"
optionLabel=
"全部"
blockId=
"inqu_status"
ename=
"claimedGroupNo"
row=
"0"
>
<EF:EFOption
label=
"倒罐"
value=
"TPD"
/>
<EF:EFOption
label=
"-------"
value=
"-"
/>
<EF:EFOption
label=
"脱硫"
value=
"KR"
/>
<EF:EFOption
label=
"-------"
value=
"-"
/>
<EF:EFOption
label=
"转炉汇总"
value=
"LF"
/>
<EF:EFOption
label=
"转炉1#"
value=
"LF1#"
/>
<EF:EFOption
label=
"转炉2#"
value=
"LF2#"
/>
<EF:EFOption
label=
"转炉3#"
value=
"LF3#"
/>
<EF:EFOption
label=
"-------"
value=
"-"
/>
<EF:EFOption
label=
"钢包汇总"
value=
"BOF"
/>
<EF:EFOption
label=
"钢包1#"
value=
"BOF1#"
/>
<EF:EFOption
label=
"钢包2#"
value=
"BOF2#"
/>
<EF:EFOption
label=
"钢包3#"
value=
"BOF3#"
/>
<EF:EFOption
label=
"-------"
value=
"-"
/>
<EF:EFOption
label=
"真空汇总"
value=
"RH"
/>
<EF:EFOption
label=
"真空1#"
value=
"RH1#"
/>
<EF:EFOption
label=
"真空2#"
value=
"RH2#"
/>
</EF:EFSelect>
</div>
<EF:EFButton
ename=
"QUERY"
cname=
"查询"
row=
"1"
class=
"btn-align-right"
></EF:EFButton>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"记录集"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"code"
cname=
"代码"
/>
<EF:EFComboColumn
align=
"center"
ename=
"claimedGroupNo"
cname=
"被索赔班组"
width=
"120"
readonly=
"true"
>
<EF:EFOption
label=
"倒罐-甲"
value=
"TPD-1"
/>
<EF:EFOption
label=
"倒罐-乙"
value=
"TPD-2"
/>
<EF:EFOption
label=
"倒罐-丙"
value=
"TPD-3"
/>
<EF:EFOption
label=
"倒罐-丁"
value=
"TPD-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"脱硫-甲"
value=
"KR-1"
/>
<EF:EFOption
label=
"脱硫-乙"
value=
"KR-2"
/>
<EF:EFOption
label=
"脱硫-丙"
value=
"KR-3"
/>
<EF:EFOption
label=
"脱硫-丁"
value=
"KR-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"废钢-甲"
value=
"SCR-1"
/>
<EF:EFOption
label=
"废钢-乙"
value=
"SCR-2"
/>
<EF:EFOption
label=
"废钢-丙"
value=
"SCR-3"
/>
<EF:EFOption
label=
"废钢-丁"
value=
"SCR-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"转炉1#-甲"
value=
"LF1#-1"
/>
<EF:EFOption
label=
"转炉1#-乙"
value=
"LF1#-2"
/>
<EF:EFOption
label=
"转炉1#-丙"
value=
"LF1#-3"
/>
<EF:EFOption
label=
"转炉1#-丁"
value=
"LF1#-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"转炉2#-甲"
value=
"LF2#-1"
/>
<EF:EFOption
label=
"转炉2#-乙"
value=
"LF2#-2"
/>
<EF:EFOption
label=
"转炉2#-丙"
value=
"LF2#-3"
/>
<EF:EFOption
label=
"转炉2#-丁"
value=
"LF2#-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"转炉3#-甲"
value=
"LF3#-1"
/>
<EF:EFOption
label=
"转炉3#-乙"
value=
"LF3#-2"
/>
<EF:EFOption
label=
"转炉3#-丙"
value=
"LF3#-3"
/>
<EF:EFOption
label=
"转炉3#-丁"
value=
"LF3#-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"钢包1#-甲"
value=
"BOF1#-1"
/>
<EF:EFOption
label=
"钢包1#-乙"
value=
"BOF1#-2"
/>
<EF:EFOption
label=
"钢包1#-丙"
value=
"BOF1#-3"
/>
<EF:EFOption
label=
"钢包1#-丁"
value=
"BOF1#-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"钢包2#-甲"
value=
"BOF2#-1"
/>
<EF:EFOption
label=
"钢包2#-乙"
value=
"BOF2#-2"
/>
<EF:EFOption
label=
"钢包2#-丙"
value=
"BOF2#-3"
/>
<EF:EFOption
label=
"钢包2#-丁"
value=
"BOF2#-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"钢包3#-甲"
value=
"BOF3#-1"
/>
<EF:EFOption
label=
"钢包3#-乙"
value=
"BOF3#-2"
/>
<EF:EFOption
label=
"钢包3#-丙"
value=
"BOF3#-3"
/>
<EF:EFOption
label=
"钢包3#-丁"
value=
"BOF3#-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"真空1#-甲"
value=
"RH1#-1"
/>
<EF:EFOption
label=
"真空1#-乙"
value=
"RH1#-2"
/>
<EF:EFOption
label=
"真空1#-丙"
value=
"RH1#-3"
/>
<EF:EFOption
label=
"真空1#-丁"
value=
"RH1#-4"
/>
<EF:EFOption
label=
"--------"
value=
"-"
/>
<EF:EFOption
label=
"真空2#-甲"
value=
"RH2#-1"
/>
<EF:EFOption
label=
"真空2#-乙"
value=
"RH2#-2"
/>
<EF:EFOption
label=
"真空2#-丙"
value=
"RH2#-3"
/>
<EF:EFOption
label=
"真空2#-丁"
value=
"RH2#-4"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"money"
cname=
"金额"
sumType=
"page"
data-rules=
"number"
/>
<EF:EFColumn
ename=
"assessmentAmount"
cname=
"考核金额"
data-rules=
"number"
sumType=
"page"
required=
"true"
/>
<EF:EFColumn
ename=
"reasonAssessment"
cname=
"考核原因"
editType=
"textarea"
width=
"300"
required=
"true"
/>
<EF:EFColumn
ename=
"creator"
cname=
"创建人"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"creationTime"
cname=
"创建时间"
enable=
"false"
width=
"150"
/>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFPage>
<script>
var
ctx
=
"${ctx}"
;
</script>
<script
src=
"${ctx}/HP/PZ/HPPZ001.js"
></script>
\ No newline at end of file
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