Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
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
王浩
zh-baseversion-project
Commits
903dbaf4
Commit
903dbaf4
authored
May 18, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://111.61.77.35:9999/wanghao/zh-baseversion-project
parents
32050b4e
b60a0a70
Show whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
114 additions
and
111 deletions
+114
-111
APIController.java
...ain/java/com/zehong/web/controller/api/APIController.java
+1
-1
TComplainDealController.java
.../web/controller/complainDeal/TComplainDealController.java
+1
-1
TWorkOrderController.java
...web/controller/operationMonitor/TWorkOrderController.java
+2
-2
PipeInterfaceController.java
...ong/web/controller/supervise/PipeInterfaceController.java
+19
-19
TDeviceInfoController.java
...ehong/web/controller/supervise/TDeviceInfoController.java
+1
-1
TEnterpriseInfoController.java
...g/web/controller/supervise/TEnterpriseInfoController.java
+3
-2
TProjectInfoController.java
...hong/web/controller/supervise/TProjectInfoController.java
+1
-1
SysUser.java
...in/java/com/zehong/common/core/domain/entity/SysUser.java
+3
-3
TComplainDeal.java
...src/main/java/com/zehong/system/domain/TComplainDeal.java
+3
-3
TDetectorUser.java
...src/main/java/com/zehong/system/domain/TDetectorUser.java
+3
-3
TDeviceInfo.java
...m/src/main/java/com/zehong/system/domain/TDeviceInfo.java
+3
-3
TEmployedPeopleInfo.java
...in/java/com/zehong/system/domain/TEmployedPeopleInfo.java
+3
-3
TEnterpriseInfo.java
...c/main/java/com/zehong/system/domain/TEnterpriseInfo.java
+6
-6
THiddenDangerStandingBook.java
...a/com/zehong/system/domain/THiddenDangerStandingBook.java
+3
-3
THiddenTroubleInfo.java
...ain/java/com/zehong/system/domain/THiddenTroubleInfo.java
+3
-3
TLinePatrolPerson.java
...main/java/com/zehong/system/domain/TLinePatrolPerson.java
+3
-3
TPipeInfo.java
...tem/src/main/java/com/zehong/system/domain/TPipeInfo.java
+3
-3
TProjectInfo.java
.../src/main/java/com/zehong/system/domain/TProjectInfo.java
+3
-3
TSiteStationInfo.java
.../main/java/com/zehong/system/domain/TSiteStationInfo.java
+3
-3
TVideoManager.java
...src/main/java/com/zehong/system/domain/TVideoManager.java
+3
-3
TWorkOrder.java
...em/src/main/java/com/zehong/system/domain/TWorkOrder.java
+3
-3
TWorkTask.java
...tem/src/main/java/com/zehong/system/domain/TWorkTask.java
+3
-3
THiddenDangerStandingBookForm.java
...ong/system/domain/form/THiddenDangerStandingBookForm.java
+1
-1
TDetectorUserInspectVo.java
...a/com/zehong/system/domain/vo/TDetectorUserInspectVo.java
+3
-3
TDetectorUserMapper.java
...in/java/com/zehong/system/mapper/TDetectorUserMapper.java
+1
-1
TEmployedPeopleInfoMapper.java
...a/com/zehong/system/mapper/TEmployedPeopleInfoMapper.java
+2
-2
TEnterpriseInfoMapper.java
.../java/com/zehong/system/mapper/TEnterpriseInfoMapper.java
+3
-3
TProjectInfoMapper.java
...ain/java/com/zehong/system/mapper/TProjectInfoMapper.java
+3
-3
ITDetectorUserService.java
...java/com/zehong/system/service/ITDetectorUserService.java
+1
-1
ITEmployedPeopleInfoService.java
...om/zehong/system/service/ITEmployedPeopleInfoService.java
+2
-2
ITEnterpriseInfoService.java
...va/com/zehong/system/service/ITEnterpriseInfoService.java
+3
-3
ITProjectInfoService.java
.../java/com/zehong/system/service/ITProjectInfoService.java
+3
-3
TDetectorUserServiceImpl.java
.../zehong/system/service/impl/TDetectorUserServiceImpl.java
+1
-1
TEmployedPeopleInfoServiceImpl.java
...g/system/service/impl/TEmployedPeopleInfoServiceImpl.java
+2
-2
TEnterpriseInfoServiceImpl.java
...ehong/system/service/impl/TEnterpriseInfoServiceImpl.java
+3
-3
TProjectInfoServiceImpl.java
...m/zehong/system/service/impl/TProjectInfoServiceImpl.java
+3
-3
TWorkOrderServiceImpl.java
...com/zehong/system/service/impl/TWorkOrderServiceImpl.java
+3
-3
TEnterpriseInfoMapper.xml
...rc/main/resources/mapper/system/TEnterpriseInfoMapper.xml
+4
-2
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/api/APIController.java
View file @
903dbaf4
...
@@ -43,7 +43,7 @@ public class APIController {
...
@@ -43,7 +43,7 @@ public class APIController {
RsaToClient
rsa
=
new
RsaToClient
(
privateKeyString
,
publicKeyString
);
RsaToClient
rsa
=
new
RsaToClient
(
privateKeyString
,
publicKeyString
);
TSiteStationInfo
tSiteStationInfo
=
new
TSiteStationInfo
();
TSiteStationInfo
tSiteStationInfo
=
new
TSiteStationInfo
();
tSiteStationInfo
.
setBeyondEnterpriseId
(
Long
.
valueOf
(
15
)
);
tSiteStationInfo
.
setBeyondEnterpriseId
(
"15"
);
List
<
TSiteStationInfo
>
tSiteStationInfos
=
tSiteStationInfoService
.
selectTSiteStationInfoList
(
tSiteStationInfo
);
List
<
TSiteStationInfo
>
tSiteStationInfos
=
tSiteStationInfoService
.
selectTSiteStationInfoList
(
tSiteStationInfo
);
// 组装加密数据结构 (这里根据接口参数进行调整组装格式)
// 组装加密数据结构 (这里根据接口参数进行调整组装格式)
...
...
zh-baseversion-admin/src/main/java/com/zehong/web/controller/complainDeal/TComplainDealController.java
View file @
903dbaf4
...
@@ -49,7 +49,7 @@ public class TComplainDealController extends BaseController
...
@@ -49,7 +49,7 @@ public class TComplainDealController extends BaseController
public
TableDataInfo
list
(
TComplainDeal
tComplainDeal
,
HttpServletRequest
request
)
public
TableDataInfo
list
(
TComplainDeal
tComplainDeal
,
HttpServletRequest
request
)
{
{
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
request
);
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
request
);
if
(
loginUser
.
getUser
().
getDeptId
()!=-
2
){
if
(
!
"-2"
.
equals
(
loginUser
.
getUser
().
getDeptId
())
){
tComplainDeal
.
setComplainAssignEnterproseId
(
loginUser
.
getUser
().
getDeptId
());
tComplainDeal
.
setComplainAssignEnterproseId
(
loginUser
.
getUser
().
getDeptId
());
}
}
startPage
();
startPage
();
...
...
zh-baseversion-admin/src/main/java/com/zehong/web/controller/operationMonitor/TWorkOrderController.java
View file @
903dbaf4
...
@@ -102,7 +102,7 @@ public class TWorkOrderController extends BaseController
...
@@ -102,7 +102,7 @@ public class TWorkOrderController extends BaseController
private
void
judgeUserRole
(
TWorkOrder
tWorkOrder
){
private
void
judgeUserRole
(
TWorkOrder
tWorkOrder
){
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
//获取用户所属单位
//获取用户所属单位
lo
ng
enterpriseId
=
user
.
getDeptId
();
Stri
ng
enterpriseId
=
user
.
getDeptId
();
//判断是否为政府用户
//判断是否为政府用户
if
(!
"-2"
.
equals
(
String
.
valueOf
(
enterpriseId
))){
if
(!
"-2"
.
equals
(
String
.
valueOf
(
enterpriseId
))){
tWorkOrder
.
setWorkAssignEnterproseId
(
enterpriseId
);
tWorkOrder
.
setWorkAssignEnterproseId
(
enterpriseId
);
...
@@ -187,7 +187,7 @@ public class TWorkOrderController extends BaseController
...
@@ -187,7 +187,7 @@ public class TWorkOrderController extends BaseController
//获取当前登录用户信息
//获取当前登录用户信息
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
// user.setDeptId((long) 0);
// user.setDeptId((long) 0);
}
else
{
}
else
{
enterpriseId
=
String
.
valueOf
(
user
.
getDeptId
());
enterpriseId
=
String
.
valueOf
(
user
.
getDeptId
());
...
...
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supervise/PipeInterfaceController.java
View file @
903dbaf4
...
@@ -38,8 +38,8 @@ public class PipeInterfaceController extends BaseController {
...
@@ -38,8 +38,8 @@ public class PipeInterfaceController extends BaseController {
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
//获取分组数据
//获取分组数据
List
<
PipeDate
>
pipeDatesGroup
=
iPipeInterfaceService
.
selectGroupPipeData
();
List
<
PipeDate
>
pipeDatesGroup
=
iPipeInterfaceService
.
selectGroupPipeData
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
user
.
setDeptId
(
(
long
)
0
);
user
.
setDeptId
(
"0"
);
}
}
//查询管道数据列表
//查询管道数据列表
List
<
PipeDate
>
pipeDates
=
iPipeInterfaceService
.
selectPipeData
(
String
.
valueOf
(
user
.
getDeptId
()));
List
<
PipeDate
>
pipeDates
=
iPipeInterfaceService
.
selectPipeData
(
String
.
valueOf
(
user
.
getDeptId
()));
...
@@ -77,11 +77,11 @@ public class PipeInterfaceController extends BaseController {
...
@@ -77,11 +77,11 @@ public class PipeInterfaceController extends BaseController {
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
user
.
setDeptId
(
(
long
)
0
);
user
.
setDeptId
(
"0"
);
}
}
//调压箱数据查询方法
//调压箱数据查询方法
List
<
DeviceData
>
deviceData
=
iPipeInterfaceService
.
selectDeviceData
(
String
.
valueOf
(
user
.
getDeptId
()
));
List
<
DeviceData
>
deviceData
=
iPipeInterfaceService
.
selectDeviceData
(
user
.
getDeptId
(
));
// //查询下级全部数据方法
// //查询下级全部数据方法
// List<PressureFlow> pressureFlows1 = iPipeInterfaceService.selectPressureFlows("1");
// List<PressureFlow> pressureFlows1 = iPipeInterfaceService.selectPressureFlows("1");
// for (int i=0;i<deviceData.size();i++){
// for (int i=0;i<deviceData.size();i++){
...
@@ -221,11 +221,11 @@ public class PipeInterfaceController extends BaseController {
...
@@ -221,11 +221,11 @@ public class PipeInterfaceController extends BaseController {
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
user
.
setDeptId
(
(
long
)
0
);
user
.
setDeptId
(
"0"
);
}
}
//调压箱数据查询方法
//调压箱数据查询方法
List
<
DeviceData
>
deviceData
=
iPipeInterfaceService
.
selectDeviceData
(
String
.
valueOf
(
user
.
getDeptId
()
));
List
<
DeviceData
>
deviceData
=
iPipeInterfaceService
.
selectDeviceData
(
user
.
getDeptId
(
));
//查询下级全部数据方法
//查询下级全部数据方法
List
<
PressureFlow
>
pressureFlows1
=
iPipeInterfaceService
.
selectPressureFlow
(
"1"
);
List
<
PressureFlow
>
pressureFlows1
=
iPipeInterfaceService
.
selectPressureFlow
(
"1"
);
//最后返回的封装类型
//最后返回的封装类型
...
@@ -337,11 +337,11 @@ public class PipeInterfaceController extends BaseController {
...
@@ -337,11 +337,11 @@ public class PipeInterfaceController extends BaseController {
TSiteStationInfoDataList
tSiteStationInfoDataList
=
new
TSiteStationInfoDataList
();
TSiteStationInfoDataList
tSiteStationInfoDataList
=
new
TSiteStationInfoDataList
();
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
user
.
setDeptId
(
(
long
)
0
);
user
.
setDeptId
(
"0"
);
}
}
//场站信息查询方法
//场站信息查询方法
List
<
TSiteStationInfoData
>
tSiteStationInfoData
=
iPipeInterfaceService
.
selectTSiteStationInfoData
(
String
.
valueOf
(
user
.
getDeptId
()
));
List
<
TSiteStationInfoData
>
tSiteStationInfoData
=
iPipeInterfaceService
.
selectTSiteStationInfoData
(
user
.
getDeptId
(
));
List
<
TSiteStationInfoData
>
list
=
new
ArrayList
<>();
List
<
TSiteStationInfoData
>
list
=
new
ArrayList
<>();
// //查询下级全部数据方法
// //查询下级全部数据方法
// List<PressureFlow> pressureFlows1 = iPipeInterfaceService.selectPressureFlows("2");
// List<PressureFlow> pressureFlows1 = iPipeInterfaceService.selectPressureFlows("2");
...
@@ -481,11 +481,11 @@ public class PipeInterfaceController extends BaseController {
...
@@ -481,11 +481,11 @@ public class PipeInterfaceController extends BaseController {
public
TSiteStationInfoDataList
selectTSiteStationInfoDatas
(){
public
TSiteStationInfoDataList
selectTSiteStationInfoDatas
(){
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
user
.
setDeptId
(
(
long
)
0
);
user
.
setDeptId
(
"0"
);
}
}
//场站信息查询方法
//场站信息查询方法
List
<
TSiteStationInfoData
>
tSiteStationInfoData
=
iPipeInterfaceService
.
selectTSiteStationInfoData
(
String
.
valueOf
(
user
.
getDeptId
()
));
List
<
TSiteStationInfoData
>
tSiteStationInfoData
=
iPipeInterfaceService
.
selectTSiteStationInfoData
(
user
.
getDeptId
(
));
//查询场站下级设备数据
//查询场站下级设备数据
List
<
PressureFlow
>
pressureFlows
=
iPipeInterfaceService
.
selecttSiteStationInfoDataList
(
"1"
);
List
<
PressureFlow
>
pressureFlows
=
iPipeInterfaceService
.
selecttSiteStationInfoDataList
(
"1"
);
TSiteStationInfoDataList
tSiteStationInfoDataList
=
new
TSiteStationInfoDataList
();
TSiteStationInfoDataList
tSiteStationInfoDataList
=
new
TSiteStationInfoDataList
();
...
@@ -584,11 +584,11 @@ public class PipeInterfaceController extends BaseController {
...
@@ -584,11 +584,11 @@ public class PipeInterfaceController extends BaseController {
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
user
.
setDeptId
(
(
long
)
0
);
user
.
setDeptId
(
"0"
);
}
}
//查询阀门井数据
//查询阀门井数据
List
<
DeviceData
>
pipeDates
=
iPipeInterfaceService
.
selectvalveData
(
String
.
valueOf
(
user
.
getDeptId
()
));
List
<
DeviceData
>
pipeDates
=
iPipeInterfaceService
.
selectvalveData
(
user
.
getDeptId
(
));
// //查询下级全部数据方法
// //查询下级全部数据方法
// List<PressureFlow> pressureFlows1 = iPipeInterfaceService.selectPressureFlows("1");
// List<PressureFlow> pressureFlows1 = iPipeInterfaceService.selectPressureFlows("1");
// for (int i=0;i<pipeDates.size();i++){
// for (int i=0;i<pipeDates.size();i++){
...
@@ -622,8 +622,8 @@ public class PipeInterfaceController extends BaseController {
...
@@ -622,8 +622,8 @@ public class PipeInterfaceController extends BaseController {
public
DeviceDataList
selectvalveDatas
(){
public
DeviceDataList
selectvalveDatas
(){
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
user
.
setDeptId
(
(
long
)
0
);
user
.
setDeptId
(
"0"
);
}
}
//查询阀门井数据
//查询阀门井数据
List
<
DeviceData
>
pipeDates
=
iPipeInterfaceService
.
selectvalveData
(
String
.
valueOf
(
user
.
getDeptId
()));
List
<
DeviceData
>
pipeDates
=
iPipeInterfaceService
.
selectvalveData
(
String
.
valueOf
(
user
.
getDeptId
()));
...
...
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supervise/TDeviceInfoController.java
View file @
903dbaf4
...
@@ -258,7 +258,7 @@ public class TDeviceInfoController extends BaseController
...
@@ -258,7 +258,7 @@ public class TDeviceInfoController extends BaseController
//获取当前登录用户信息
//获取当前登录用户信息
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
tokenService
.
getLoginUser
(
ServletUtils
.
getRequest
());
SysUser
user
=
loginUser
.
getUser
();
SysUser
user
=
loginUser
.
getUser
();
if
(
user
.
getDeptId
()==-
2
){
if
(
"-2"
.
equals
(
user
.
getDeptId
())
){
// user.setDeptId((long) 0);
// user.setDeptId((long) 0);
}
else
{
}
else
{
enterpriseId
=
String
.
valueOf
(
user
.
getDeptId
());
enterpriseId
=
String
.
valueOf
(
user
.
getDeptId
());
...
...
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supervise/TEnterpriseInfoController.java
View file @
903dbaf4
...
@@ -9,6 +9,7 @@ import com.zehong.common.core.page.TableDataInfo;
...
@@ -9,6 +9,7 @@ import com.zehong.common.core.page.TableDataInfo;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.uuid.UUID
;
import
com.zehong.framework.config.ServerConfig
;
import
com.zehong.framework.config.ServerConfig
;
import
com.zehong.system.domain.TEnterpriseInfo
;
import
com.zehong.system.domain.TEnterpriseInfo
;
import
com.zehong.system.domain.vo.TEnterpriseInfoVO
;
import
com.zehong.system.domain.vo.TEnterpriseInfoVO
;
...
@@ -107,7 +108,7 @@ public class TEnterpriseInfoController extends BaseController
...
@@ -107,7 +108,7 @@ public class TEnterpriseInfoController extends BaseController
*/
*/
@PreAuthorize
(
"@ss.hasPermi('regulation:info:query')"
)
@PreAuthorize
(
"@ss.hasPermi('regulation:info:query')"
)
@GetMapping
(
value
=
"/{enterpriseId}"
)
@GetMapping
(
value
=
"/{enterpriseId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"enterpriseId"
)
Lo
ng
enterpriseId
)
public
AjaxResult
getInfo
(
@PathVariable
(
"enterpriseId"
)
Stri
ng
enterpriseId
)
{
{
return
AjaxResult
.
success
(
tEnterpriseInfoService
.
selectTEnterpriseInfoById
(
enterpriseId
));
return
AjaxResult
.
success
(
tEnterpriseInfoService
.
selectTEnterpriseInfoById
(
enterpriseId
));
}
}
...
@@ -157,7 +158,7 @@ public class TEnterpriseInfoController extends BaseController
...
@@ -157,7 +158,7 @@ public class TEnterpriseInfoController extends BaseController
@PreAuthorize
(
"@ss.hasPermi('regulation:info:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('regulation:info:remove')"
)
@Log
(
title
=
"企业信息"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"企业信息"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{enterpriseIds}"
)
@DeleteMapping
(
"/{enterpriseIds}"
)
public
AjaxResult
remove
(
@PathVariable
Lo
ng
[]
enterpriseIds
)
public
AjaxResult
remove
(
@PathVariable
Stri
ng
[]
enterpriseIds
)
{
{
return
toAjax
(
tEnterpriseInfoService
.
deleteTEnterpriseInfoByIds
(
enterpriseIds
));
return
toAjax
(
tEnterpriseInfoService
.
deleteTEnterpriseInfoByIds
(
enterpriseIds
));
}
}
...
...
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supervise/TProjectInfoController.java
View file @
903dbaf4
...
@@ -95,7 +95,7 @@ public class TProjectInfoController extends BaseController
...
@@ -95,7 +95,7 @@ public class TProjectInfoController extends BaseController
//重复年份删除方法
//重复年份删除方法
tProjectInfoService
.
deleteisSameYear
(
tProjectInfo
.
getProjectYear
(),
tProjectInfo
.
getBeyondEnterpriseId
());
tProjectInfoService
.
deleteisSameYear
(
tProjectInfo
.
getProjectYear
(),
tProjectInfo
.
getBeyondEnterpriseId
());
}
}
if
(
user
.
getDeptId
()!=-
2
){
if
(
!
"-2"
.
equals
(
user
.
getDeptId
())
){
//查询企业名称
//查询企业名称
String
enterpriseName
=
tProjectInfoService
.
selectEnterpriseName
(
user
.
getDeptId
());
String
enterpriseName
=
tProjectInfoService
.
selectEnterpriseName
(
user
.
getDeptId
());
tProjectInfo
.
setEnterpriseCode
(
String
.
valueOf
(
enterpriseName
));
tProjectInfo
.
setEnterpriseCode
(
String
.
valueOf
(
enterpriseName
));
...
...
zh-baseversion-common/src/main/java/com/zehong/common/core/domain/entity/SysUser.java
View file @
903dbaf4
...
@@ -30,7 +30,7 @@ public class SysUser extends BaseEntity
...
@@ -30,7 +30,7 @@ public class SysUser extends BaseEntity
/** 部门ID */
/** 部门ID */
@Excel
(
name
=
"部门编号"
,
type
=
Type
.
IMPORT
)
@Excel
(
name
=
"部门编号"
,
type
=
Type
.
IMPORT
)
private
Lo
ng
deptId
;
private
Stri
ng
deptId
;
/** 用户账号 */
/** 用户账号 */
@Excel
(
name
=
"登录名称"
)
@Excel
(
name
=
"登录名称"
)
...
@@ -136,12 +136,12 @@ public class SysUser extends BaseEntity
...
@@ -136,12 +136,12 @@ public class SysUser extends BaseEntity
return
userId
!=
null
&&
1L
==
userId
;
return
userId
!=
null
&&
1L
==
userId
;
}
}
public
Lo
ng
getDeptId
()
public
Stri
ng
getDeptId
()
{
{
return
deptId
;
return
deptId
;
}
}
public
void
setDeptId
(
Lo
ng
deptId
)
public
void
setDeptId
(
Stri
ng
deptId
)
{
{
this
.
deptId
=
deptId
;
this
.
deptId
=
deptId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TComplainDeal.java
View file @
903dbaf4
...
@@ -50,7 +50,7 @@ public class TComplainDeal extends BaseEntity
...
@@ -50,7 +50,7 @@ public class TComplainDeal extends BaseEntity
/** 指派单位id */
/** 指派单位id */
@Excel
(
name
=
"指派单位id"
)
@Excel
(
name
=
"指派单位id"
)
private
Lo
ng
complainAssignEnterproseId
;
private
Stri
ng
complainAssignEnterproseId
;
/** 指派人 */
/** 指派人 */
@Excel
(
name
=
"指派人id"
)
@Excel
(
name
=
"指派人id"
)
...
@@ -135,12 +135,12 @@ public class TComplainDeal extends BaseEntity
...
@@ -135,12 +135,12 @@ public class TComplainDeal extends BaseEntity
{
{
return
complainAssignEnterproseName
;
return
complainAssignEnterproseName
;
}
}
public
void
setComplainAssignEnterproseId
(
Long
complainAssignEnterproseId
)
public
void
setComplainAssignEnterproseId
(
String
complainAssignEnterproseId
)
{
{
this
.
complainAssignEnterproseId
=
complainAssignEnterproseId
;
this
.
complainAssignEnterproseId
=
complainAssignEnterproseId
;
}
}
public
Long
getComplainAssignEnterproseId
()
public
String
getComplainAssignEnterproseId
()
{
{
return
complainAssignEnterproseId
;
return
complainAssignEnterproseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TDetectorUser.java
View file @
903dbaf4
...
@@ -31,7 +31,7 @@ public class TDetectorUser extends BaseEntity
...
@@ -31,7 +31,7 @@ public class TDetectorUser extends BaseEntity
private
String
nickName
;
private
String
nickName
;
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 用户类型(1居民用户,2商业用户,3工业用户) */
/** 用户类型(1居民用户,2商业用户,3工业用户) */
@Excel
(
name
=
"用户类型"
)
@Excel
(
name
=
"用户类型"
)
...
@@ -114,11 +114,11 @@ public class TDetectorUser extends BaseEntity
...
@@ -114,11 +114,11 @@ public class TDetectorUser extends BaseEntity
return
serialVersionUID
;
return
serialVersionUID
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
{
public
Stri
ng
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
{
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TDeviceInfo.java
View file @
903dbaf4
...
@@ -45,7 +45,7 @@ public class TDeviceInfo extends BaseEntity
...
@@ -45,7 +45,7 @@ public class TDeviceInfo extends BaseEntity
private
String
deviceType
;
private
String
deviceType
;
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 权属单位名称 */
/** 权属单位名称 */
@Excel
(
name
=
"权属单位名称"
)
@Excel
(
name
=
"权属单位名称"
)
...
@@ -158,12 +158,12 @@ public class TDeviceInfo extends BaseEntity
...
@@ -158,12 +158,12 @@ public class TDeviceInfo extends BaseEntity
{
{
return
deviceType
;
return
deviceType
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
public
Stri
ng
getBeyondEnterpriseId
()
{
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TEmployedPeopleInfo.java
View file @
903dbaf4
...
@@ -39,7 +39,7 @@ public class TEmployedPeopleInfo extends BaseEntity
...
@@ -39,7 +39,7 @@ public class TEmployedPeopleInfo extends BaseEntity
private
String
beyondEnterpriseName
;
private
String
beyondEnterpriseName
;
/** 受聘企业id */
/** 受聘企业id */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 发证部门 */
/** 发证部门 */
@Excel
(
name
=
"发证部门"
)
@Excel
(
name
=
"发证部门"
)
...
@@ -121,12 +121,12 @@ public class TEmployedPeopleInfo extends BaseEntity
...
@@ -121,12 +121,12 @@ public class TEmployedPeopleInfo extends BaseEntity
{
{
return
beyondEnterpriseName
;
return
beyondEnterpriseName
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
public
Stri
ng
getBeyondEnterpriseId
()
{
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TEnterpriseInfo.java
View file @
903dbaf4
...
@@ -18,10 +18,10 @@ public class TEnterpriseInfo extends BaseEntity
...
@@ -18,10 +18,10 @@ public class TEnterpriseInfo extends BaseEntity
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/** 企业id */
/** 企业id */
private
Lo
ng
enterpriseId
;
private
Stri
ng
enterpriseId
;
/**创建企业id*/
/**创建企业id*/
private
Lo
ng
createEnterpriseId
;
private
Stri
ng
createEnterpriseId
;
/** 企业名称 */
/** 企业名称 */
@Excel
(
name
=
"企业名称"
)
@Excel
(
name
=
"企业名称"
)
...
@@ -84,11 +84,11 @@ public class TEnterpriseInfo extends BaseEntity
...
@@ -84,11 +84,11 @@ public class TEnterpriseInfo extends BaseEntity
this
.
enterpriseType
=
enterpriseType
;
this
.
enterpriseType
=
enterpriseType
;
}
}
public
Lo
ng
getCreateEnterpriseId
()
{
public
Stri
ng
getCreateEnterpriseId
()
{
return
createEnterpriseId
;
return
createEnterpriseId
;
}
}
public
void
setCreateEnterpriseId
(
Lo
ng
createEnterpriseId
)
{
public
void
setCreateEnterpriseId
(
Stri
ng
createEnterpriseId
)
{
this
.
createEnterpriseId
=
createEnterpriseId
;
this
.
createEnterpriseId
=
createEnterpriseId
;
}
}
...
@@ -112,12 +112,12 @@ public class TEnterpriseInfo extends BaseEntity
...
@@ -112,12 +112,12 @@ public class TEnterpriseInfo extends BaseEntity
this
.
doDusiness
=
doDusiness
;
this
.
doDusiness
=
doDusiness
;
}
}
public
void
setEnterpriseId
(
Lo
ng
enterpriseId
)
public
void
setEnterpriseId
(
Stri
ng
enterpriseId
)
{
{
this
.
enterpriseId
=
enterpriseId
;
this
.
enterpriseId
=
enterpriseId
;
}
}
public
Lo
ng
getEnterpriseId
()
public
Stri
ng
getEnterpriseId
()
{
{
return
enterpriseId
;
return
enterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/THiddenDangerStandingBook.java
View file @
903dbaf4
...
@@ -73,7 +73,7 @@ public class THiddenDangerStandingBook extends BaseEntity
...
@@ -73,7 +73,7 @@ public class THiddenDangerStandingBook extends BaseEntity
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
private
String
source
;
private
String
source
;
...
@@ -111,11 +111,11 @@ public class THiddenDangerStandingBook extends BaseEntity
...
@@ -111,11 +111,11 @@ public class THiddenDangerStandingBook extends BaseEntity
return
serialVersionUID
;
return
serialVersionUID
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
{
public
Stri
ng
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
{
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/THiddenTroubleInfo.java
View file @
903dbaf4
...
@@ -22,7 +22,7 @@ public class THiddenTroubleInfo extends BaseEntity
...
@@ -22,7 +22,7 @@ public class THiddenTroubleInfo extends BaseEntity
private
Long
hiddenTroubleId
;
private
Long
hiddenTroubleId
;
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 巡检任务id */
/** 巡检任务id */
private
Long
workId
;
private
Long
workId
;
...
@@ -218,11 +218,11 @@ public class THiddenTroubleInfo extends BaseEntity
...
@@ -218,11 +218,11 @@ public class THiddenTroubleInfo extends BaseEntity
return
serialVersionUID
;
return
serialVersionUID
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
{
public
Stri
ng
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
{
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TLinePatrolPerson.java
View file @
903dbaf4
...
@@ -36,7 +36,7 @@ public class TLinePatrolPerson extends BaseEntity
...
@@ -36,7 +36,7 @@ public class TLinePatrolPerson extends BaseEntity
/** $column.columnComment */
/** $column.columnComment */
@Excel
(
name
=
"组号"
)
@Excel
(
name
=
"组号"
)
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 账号 */
/** 账号 */
@Excel
(
name
=
"账号"
)
@Excel
(
name
=
"账号"
)
...
@@ -109,12 +109,12 @@ public class TLinePatrolPerson extends BaseEntity
...
@@ -109,12 +109,12 @@ public class TLinePatrolPerson extends BaseEntity
{
{
return
groupNum
;
return
groupNum
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
public
Stri
ng
getBeyondEnterpriseId
()
{
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TPipeInfo.java
View file @
903dbaf4
...
@@ -58,7 +58,7 @@ public class TPipeInfo extends BaseEntity
...
@@ -58,7 +58,7 @@ public class TPipeInfo extends BaseEntity
private
String
peopleOccupation
;
private
String
peopleOccupation
;
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 权属单位名称 */
/** 权属单位名称 */
@Excel
(
name
=
"权属单位名称"
)
@Excel
(
name
=
"权属单位名称"
)
...
@@ -172,12 +172,12 @@ public class TPipeInfo extends BaseEntity
...
@@ -172,12 +172,12 @@ public class TPipeInfo extends BaseEntity
{
{
return
buildUnit
;
return
buildUnit
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
public
Stri
ng
getBeyondEnterpriseId
()
{
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TProjectInfo.java
View file @
903dbaf4
...
@@ -30,7 +30,7 @@ public class TProjectInfo extends BaseEntity
...
@@ -30,7 +30,7 @@ public class TProjectInfo extends BaseEntity
private
String
enterpriseCode
;
private
String
enterpriseCode
;
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 门站地址 */
/** 门站地址 */
@Excel
(
name
=
"门站地址"
)
@Excel
(
name
=
"门站地址"
)
...
@@ -62,11 +62,11 @@ public class TProjectInfo extends BaseEntity
...
@@ -62,11 +62,11 @@ public class TProjectInfo extends BaseEntity
@Excel
(
name
=
"备注"
)
@Excel
(
name
=
"备注"
)
private
String
remarks
;
private
String
remarks
;
public
Lo
ng
getBeyondEnterpriseId
()
{
public
Stri
ng
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
{
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TSiteStationInfo.java
View file @
903dbaf4
...
@@ -36,7 +36,7 @@ public class TSiteStationInfo extends BaseEntity
...
@@ -36,7 +36,7 @@ public class TSiteStationInfo extends BaseEntity
private
String
buildUnit
;
private
String
buildUnit
;
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 权属单位名称 */
/** 权属单位名称 */
@Excel
(
name
=
"权属单位名称"
)
@Excel
(
name
=
"权属单位名称"
)
...
@@ -139,12 +139,12 @@ public class TSiteStationInfo extends BaseEntity
...
@@ -139,12 +139,12 @@ public class TSiteStationInfo extends BaseEntity
{
{
return
buildUnit
;
return
buildUnit
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
public
Lo
ng
getBeyondEnterpriseId
()
public
Stri
ng
getBeyondEnterpriseId
()
{
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TVideoManager.java
View file @
903dbaf4
...
@@ -45,7 +45,7 @@ public class TVideoManager extends BaseEntity
...
@@ -45,7 +45,7 @@ public class TVideoManager extends BaseEntity
/** 所属企业 */
/** 所属企业 */
@Excel
(
name
=
"所属企业"
)
@Excel
(
name
=
"所属企业"
)
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 所属企业名称 */
/** 所属企业名称 */
@Excel
(
name
=
"所属企业名称"
)
@Excel
(
name
=
"所属企业名称"
)
...
@@ -122,12 +122,12 @@ public class TVideoManager extends BaseEntity
...
@@ -122,12 +122,12 @@ public class TVideoManager extends BaseEntity
{
{
return
type
;
return
type
;
}
}
public
void
setBeyondEnterpriseId
(
Long
beyondEnterpriseId
)
public
void
setBeyondEnterpriseId
(
String
beyondEnterpriseId
)
{
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
public
Long
getBeyondEnterpriseId
()
public
String
getBeyondEnterpriseId
()
{
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TWorkOrder.java
View file @
903dbaf4
...
@@ -48,7 +48,7 @@ public class TWorkOrder extends BaseEntity
...
@@ -48,7 +48,7 @@ public class TWorkOrder extends BaseEntity
/** 指派单位id */
/** 指派单位id */
@Excel
(
name
=
"指派单位id"
)
@Excel
(
name
=
"指派单位id"
)
private
Lo
ng
workAssignEnterproseId
;
private
Stri
ng
workAssignEnterproseId
;
/** 指派人 */
/** 指派人 */
@Excel
(
name
=
"指派人"
)
@Excel
(
name
=
"指派人"
)
...
@@ -243,12 +243,12 @@ public class TWorkOrder extends BaseEntity
...
@@ -243,12 +243,12 @@ public class TWorkOrder extends BaseEntity
{
{
return
workAssignEnterproseName
;
return
workAssignEnterproseName
;
}
}
public
void
setWorkAssignEnterproseId
(
Long
workAssignEnterproseId
)
public
void
setWorkAssignEnterproseId
(
String
workAssignEnterproseId
)
{
{
this
.
workAssignEnterproseId
=
workAssignEnterproseId
;
this
.
workAssignEnterproseId
=
workAssignEnterproseId
;
}
}
public
Long
getWorkAssignEnterproseId
()
public
String
getWorkAssignEnterproseId
()
{
{
return
workAssignEnterproseId
;
return
workAssignEnterproseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TWorkTask.java
View file @
903dbaf4
...
@@ -41,7 +41,7 @@ public class TWorkTask extends BaseEntity
...
@@ -41,7 +41,7 @@ public class TWorkTask extends BaseEntity
/** 创建企业id */
/** 创建企业id */
@Excel
(
name
=
"创建企业id"
)
@Excel
(
name
=
"创建企业id"
)
private
Lo
ng
createEnterpriseId
;
private
Stri
ng
createEnterpriseId
;
private
String
groupNum
;
private
String
groupNum
;
...
@@ -166,12 +166,12 @@ public class TWorkTask extends BaseEntity
...
@@ -166,12 +166,12 @@ public class TWorkTask extends BaseEntity
{
{
return
status
;
return
status
;
}
}
public
void
setCreateEnterpriseId
(
Long
createEnterpriseId
)
public
void
setCreateEnterpriseId
(
String
createEnterpriseId
)
{
{
this
.
createEnterpriseId
=
createEnterpriseId
;
this
.
createEnterpriseId
=
createEnterpriseId
;
}
}
public
Long
getCreateEnterpriseId
()
public
String
getCreateEnterpriseId
()
{
{
return
createEnterpriseId
;
return
createEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/form/THiddenDangerStandingBookForm.java
View file @
903dbaf4
...
@@ -32,6 +32,6 @@ public class THiddenDangerStandingBookForm
...
@@ -32,6 +32,6 @@ public class THiddenDangerStandingBookForm
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
hiddenFindDateEnd
;
private
Date
hiddenFindDateEnd
;
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/vo/TDetectorUserInspectVo.java
View file @
903dbaf4
...
@@ -24,7 +24,7 @@ public class TDetectorUserInspectVo {
...
@@ -24,7 +24,7 @@ public class TDetectorUserInspectVo {
private
String
nickName
;
private
String
nickName
;
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 用户类型(1居民用户,2商业用户,3工业用户) */
/** 用户类型(1居民用户,2商业用户,3工业用户) */
@Excel
(
name
=
"用户类型"
)
@Excel
(
name
=
"用户类型"
)
...
@@ -101,11 +101,11 @@ public class TDetectorUserInspectVo {
...
@@ -101,11 +101,11 @@ public class TDetectorUserInspectVo {
}
}
public
Lo
ng
getBeyondEnterpriseId
()
{
public
Stri
ng
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
{
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TDetectorUserMapper.java
View file @
903dbaf4
...
@@ -98,7 +98,7 @@ public interface TDetectorUserMapper
...
@@ -98,7 +98,7 @@ public interface TDetectorUserMapper
* 查询用户统计信息
* 查询用户统计信息
* @return
* @return
*/
*/
TDetectorUserCount
userStatistics
(
Lo
ng
id
);
TDetectorUserCount
userStatistics
(
Stri
ng
id
);
/**
/**
* 获取用户安检信息
* 获取用户安检信息
...
...
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TEmployedPeopleInfoMapper.java
View file @
903dbaf4
...
@@ -64,12 +64,12 @@ public interface TEmployedPeopleInfoMapper
...
@@ -64,12 +64,12 @@ public interface TEmployedPeopleInfoMapper
* 企业信息查询(下拉框数据)
* 企业信息查询(下拉框数据)
* @return
* @return
*/
*/
List
<
TEnterpriseInfo
>
selectTEnterprise
(
Lo
ng
deptId
);
List
<
TEnterpriseInfo
>
selectTEnterprise
(
Stri
ng
deptId
);
/**
/**
* 根据企业id查询企业名称
* 根据企业id查询企业名称
* @param bId
* @param bId
* @return
* @return
*/
*/
String
selectEnterpriseName
(
Lo
ng
bId
);
String
selectEnterpriseName
(
Stri
ng
bId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TEnterpriseInfoMapper.java
View file @
903dbaf4
...
@@ -17,7 +17,7 @@ public interface TEnterpriseInfoMapper
...
@@ -17,7 +17,7 @@ public interface TEnterpriseInfoMapper
* @param enterpriseId 企业信息ID
* @param enterpriseId 企业信息ID
* @return 企业信息
* @return 企业信息
*/
*/
public
TEnterpriseInfo
selectTEnterpriseInfoById
(
Lo
ng
enterpriseId
);
public
TEnterpriseInfo
selectTEnterpriseInfoById
(
Stri
ng
enterpriseId
);
/**
/**
* 查询企业信息列表
* 查询企业信息列表
...
@@ -49,7 +49,7 @@ public interface TEnterpriseInfoMapper
...
@@ -49,7 +49,7 @@ public interface TEnterpriseInfoMapper
* @param enterpriseId 企业信息ID
* @param enterpriseId 企业信息ID
* @return 结果
* @return 结果
*/
*/
public
int
deleteTEnterpriseInfoById
(
Lo
ng
enterpriseId
);
public
int
deleteTEnterpriseInfoById
(
Stri
ng
enterpriseId
);
/**
/**
* 批量删除企业信息
* 批量删除企业信息
...
@@ -57,5 +57,5 @@ public interface TEnterpriseInfoMapper
...
@@ -57,5 +57,5 @@ public interface TEnterpriseInfoMapper
* @param enterpriseIds 需要删除的数据ID
* @param enterpriseIds 需要删除的数据ID
* @return 结果
* @return 结果
*/
*/
public
int
deleteTEnterpriseInfoByIds
(
Lo
ng
[]
enterpriseIds
);
public
int
deleteTEnterpriseInfoByIds
(
Stri
ng
[]
enterpriseIds
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TProjectInfoMapper.java
View file @
903dbaf4
...
@@ -68,13 +68,13 @@ public interface TProjectInfoMapper
...
@@ -68,13 +68,13 @@ public interface TProjectInfoMapper
* @param projectYear
* @param projectYear
* @return
* @return
*/
*/
List
<
TProjectInfo
>
selectSameYear
(
@Param
(
"projectYear"
)
Date
projectYear
,
@Param
(
"beyondEnterpriseId"
)
Lo
ng
beyondEnterpriseId
);
List
<
TProjectInfo
>
selectSameYear
(
@Param
(
"projectYear"
)
Date
projectYear
,
@Param
(
"beyondEnterpriseId"
)
Stri
ng
beyondEnterpriseId
);
/**
/**
* 重复年份删除方法
* 重复年份删除方法
* @param isSameYear
* @param isSameYear
*/
*/
void
deleteisSameYear
(
@Param
(
"isSameYear"
)
Date
isSameYear
,
@Param
(
"beyondEnterpriseId"
)
Lo
ng
beyondEnterpriseId
);
void
deleteisSameYear
(
@Param
(
"isSameYear"
)
Date
isSameYear
,
@Param
(
"beyondEnterpriseId"
)
Stri
ng
beyondEnterpriseId
);
/**
/**
* 查询修改文件之前的路径
* 查询修改文件之前的路径
...
@@ -88,7 +88,7 @@ public interface TProjectInfoMapper
...
@@ -88,7 +88,7 @@ public interface TProjectInfoMapper
* @param deptId
* @param deptId
* @return
* @return
*/
*/
String
selectEnterpriseName
(
Lo
ng
deptId
);
String
selectEnterpriseName
(
Stri
ng
deptId
);
/**
/**
*
*
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/ITDetectorUserService.java
View file @
903dbaf4
...
@@ -107,7 +107,7 @@ public interface ITDetectorUserService
...
@@ -107,7 +107,7 @@ public interface ITDetectorUserService
* 查询用户统计信息
* 查询用户统计信息
* @return
* @return
*/
*/
TDetectorUserCount
userStatistics
(
Lo
ng
id
);
TDetectorUserCount
userStatistics
(
Stri
ng
id
);
/**
/**
* 获取用户安检信息
* 获取用户安检信息
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/ITEmployedPeopleInfoService.java
View file @
903dbaf4
...
@@ -64,11 +64,11 @@ public interface ITEmployedPeopleInfoService
...
@@ -64,11 +64,11 @@ public interface ITEmployedPeopleInfoService
* 企业信息查询(下拉框数据)
* 企业信息查询(下拉框数据)
* @return
* @return
*/
*/
public
List
<
TEnterpriseInfo
>
selectTEnterprise
(
Lo
ng
deptId
);
public
List
<
TEnterpriseInfo
>
selectTEnterprise
(
Stri
ng
deptId
);
/**
/**
* 根据企业id查询企业名称
* 根据企业id查询企业名称
* @return
* @return
*/
*/
String
selectEnterpriseName
(
Lo
ng
bId
);
String
selectEnterpriseName
(
Stri
ng
bId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITEnterpriseInfoService.java
View file @
903dbaf4
...
@@ -18,7 +18,7 @@ public interface ITEnterpriseInfoService
...
@@ -18,7 +18,7 @@ public interface ITEnterpriseInfoService
* @param enterpriseId 企业信息ID
* @param enterpriseId 企业信息ID
* @return 企业信息
* @return 企业信息
*/
*/
public
TEnterpriseInfo
selectTEnterpriseInfoById
(
Lo
ng
enterpriseId
);
public
TEnterpriseInfo
selectTEnterpriseInfoById
(
Stri
ng
enterpriseId
);
public
List
<
TEnterpriseInfoVO
>
enterpriseInfoList
(
TEnterpriseInfo
tEnterpriseInfo
);
public
List
<
TEnterpriseInfoVO
>
enterpriseInfoList
(
TEnterpriseInfo
tEnterpriseInfo
);
...
@@ -52,7 +52,7 @@ public interface ITEnterpriseInfoService
...
@@ -52,7 +52,7 @@ public interface ITEnterpriseInfoService
* @param enterpriseIds 需要删除的企业信息ID
* @param enterpriseIds 需要删除的企业信息ID
* @return 结果
* @return 结果
*/
*/
public
int
deleteTEnterpriseInfoByIds
(
Lo
ng
[]
enterpriseIds
);
public
int
deleteTEnterpriseInfoByIds
(
Stri
ng
[]
enterpriseIds
);
/**
/**
* 删除企业信息信息
* 删除企业信息信息
...
@@ -60,7 +60,7 @@ public interface ITEnterpriseInfoService
...
@@ -60,7 +60,7 @@ public interface ITEnterpriseInfoService
* @param enterpriseId 企业信息ID
* @param enterpriseId 企业信息ID
* @return 结果
* @return 结果
*/
*/
public
int
deleteTEnterpriseInfoById
(
Lo
ng
enterpriseId
);
public
int
deleteTEnterpriseInfoById
(
Stri
ng
enterpriseId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITProjectInfoService.java
View file @
903dbaf4
...
@@ -67,13 +67,13 @@ public interface ITProjectInfoService
...
@@ -67,13 +67,13 @@ public interface ITProjectInfoService
* @param projectYear
* @param projectYear
* @return
* @return
*/
*/
List
<
TProjectInfo
>
selectSameYear
(
Date
projectYear
,
Lo
ng
beyondEnterpriseId
);
List
<
TProjectInfo
>
selectSameYear
(
Date
projectYear
,
Stri
ng
beyondEnterpriseId
);
/**
/**
* 重复年份删除方法
* 重复年份删除方法
* @param isSameYear
* @param isSameYear
*/
*/
void
deleteisSameYear
(
Date
isSameYear
,
Lo
ng
beyondEnterpriseId
);
void
deleteisSameYear
(
Date
isSameYear
,
Stri
ng
beyondEnterpriseId
);
/**
/**
* 查询修改文件之前的路径
* 查询修改文件之前的路径
...
@@ -86,7 +86,7 @@ public interface ITProjectInfoService
...
@@ -86,7 +86,7 @@ public interface ITProjectInfoService
* @param deptId
* @param deptId
* @return
* @return
*/
*/
String
selectEnterpriseName
(
Lo
ng
deptId
);
String
selectEnterpriseName
(
Stri
ng
deptId
);
Map
<
String
,
Object
>
selectNum
();
Map
<
String
,
Object
>
selectNum
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TDetectorUserServiceImpl.java
View file @
903dbaf4
...
@@ -232,7 +232,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
...
@@ -232,7 +232,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
* @return
* @return
*/
*/
@Override
@Override
public
TDetectorUserCount
userStatistics
(
Lo
ng
id
)
{
public
TDetectorUserCount
userStatistics
(
Stri
ng
id
)
{
return
tDetectorUserMapper
.
userStatistics
(
id
);
return
tDetectorUserMapper
.
userStatistics
(
id
);
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TEmployedPeopleInfoServiceImpl.java
View file @
903dbaf4
...
@@ -100,7 +100,7 @@ public class TEmployedPeopleInfoServiceImpl implements ITEmployedPeopleInfoServi
...
@@ -100,7 +100,7 @@ public class TEmployedPeopleInfoServiceImpl implements ITEmployedPeopleInfoServi
* @return
* @return
*/
*/
@Override
@Override
public
List
<
TEnterpriseInfo
>
selectTEnterprise
(
Lo
ng
deptId
)
{
public
List
<
TEnterpriseInfo
>
selectTEnterprise
(
Stri
ng
deptId
)
{
return
tEmployedPeopleInfoMapper
.
selectTEnterprise
(
deptId
);
return
tEmployedPeopleInfoMapper
.
selectTEnterprise
(
deptId
);
}
}
...
@@ -110,7 +110,7 @@ public class TEmployedPeopleInfoServiceImpl implements ITEmployedPeopleInfoServi
...
@@ -110,7 +110,7 @@ public class TEmployedPeopleInfoServiceImpl implements ITEmployedPeopleInfoServi
* @return
* @return
*/
*/
@Override
@Override
public
String
selectEnterpriseName
(
Lo
ng
bId
)
{
public
String
selectEnterpriseName
(
Stri
ng
bId
)
{
String
s
=
tEmployedPeopleInfoMapper
.
selectEnterpriseName
(
bId
);
String
s
=
tEmployedPeopleInfoMapper
.
selectEnterpriseName
(
bId
);
return
s
;
return
s
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TEnterpriseInfoServiceImpl.java
View file @
903dbaf4
...
@@ -30,7 +30,7 @@ public class TEnterpriseInfoServiceImpl implements ITEnterpriseInfoService
...
@@ -30,7 +30,7 @@ public class TEnterpriseInfoServiceImpl implements ITEnterpriseInfoService
* @return 企业信息
* @return 企业信息
*/
*/
@Override
@Override
public
TEnterpriseInfo
selectTEnterpriseInfoById
(
Lo
ng
enterpriseId
)
public
TEnterpriseInfo
selectTEnterpriseInfoById
(
Stri
ng
enterpriseId
)
{
{
return
tEnterpriseInfoMapper
.
selectTEnterpriseInfoById
(
enterpriseId
);
return
tEnterpriseInfoMapper
.
selectTEnterpriseInfoById
(
enterpriseId
);
}
}
...
@@ -101,7 +101,7 @@ public class TEnterpriseInfoServiceImpl implements ITEnterpriseInfoService
...
@@ -101,7 +101,7 @@ public class TEnterpriseInfoServiceImpl implements ITEnterpriseInfoService
* @return 结果
* @return 结果
*/
*/
@Override
@Override
public
int
deleteTEnterpriseInfoByIds
(
Lo
ng
[]
enterpriseIds
)
public
int
deleteTEnterpriseInfoByIds
(
Stri
ng
[]
enterpriseIds
)
{
{
return
tEnterpriseInfoMapper
.
deleteTEnterpriseInfoByIds
(
enterpriseIds
);
return
tEnterpriseInfoMapper
.
deleteTEnterpriseInfoByIds
(
enterpriseIds
);
}
}
...
@@ -113,7 +113,7 @@ public class TEnterpriseInfoServiceImpl implements ITEnterpriseInfoService
...
@@ -113,7 +113,7 @@ public class TEnterpriseInfoServiceImpl implements ITEnterpriseInfoService
* @return 结果
* @return 结果
*/
*/
@Override
@Override
public
int
deleteTEnterpriseInfoById
(
Lo
ng
enterpriseId
)
public
int
deleteTEnterpriseInfoById
(
Stri
ng
enterpriseId
)
{
{
return
tEnterpriseInfoMapper
.
deleteTEnterpriseInfoById
(
enterpriseId
);
return
tEnterpriseInfoMapper
.
deleteTEnterpriseInfoById
(
enterpriseId
);
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TProjectInfoServiceImpl.java
View file @
903dbaf4
...
@@ -103,7 +103,7 @@ public class TProjectInfoServiceImpl implements ITProjectInfoService
...
@@ -103,7 +103,7 @@ public class TProjectInfoServiceImpl implements ITProjectInfoService
* @return
* @return
*/
*/
@Override
@Override
public
List
<
TProjectInfo
>
selectSameYear
(
Date
projectYear
,
Lo
ng
beyondEnterpriseId
)
{
public
List
<
TProjectInfo
>
selectSameYear
(
Date
projectYear
,
Stri
ng
beyondEnterpriseId
)
{
List
<
TProjectInfo
>
tProjectInfos
=
tProjectInfoMapper
.
selectSameYear
(
projectYear
,
beyondEnterpriseId
);
List
<
TProjectInfo
>
tProjectInfos
=
tProjectInfoMapper
.
selectSameYear
(
projectYear
,
beyondEnterpriseId
);
return
tProjectInfos
;
return
tProjectInfos
;
}
}
...
@@ -113,7 +113,7 @@ public class TProjectInfoServiceImpl implements ITProjectInfoService
...
@@ -113,7 +113,7 @@ public class TProjectInfoServiceImpl implements ITProjectInfoService
* @param isSameYear
* @param isSameYear
*/
*/
@Override
@Override
public
void
deleteisSameYear
(
Date
isSameYear
,
Lo
ng
beyondEnterpriseId
)
{
public
void
deleteisSameYear
(
Date
isSameYear
,
Stri
ng
beyondEnterpriseId
)
{
tProjectInfoMapper
.
deleteisSameYear
(
isSameYear
,
beyondEnterpriseId
);
tProjectInfoMapper
.
deleteisSameYear
(
isSameYear
,
beyondEnterpriseId
);
}
}
...
@@ -134,7 +134,7 @@ public class TProjectInfoServiceImpl implements ITProjectInfoService
...
@@ -134,7 +134,7 @@ public class TProjectInfoServiceImpl implements ITProjectInfoService
* @return
* @return
*/
*/
@Override
@Override
public
String
selectEnterpriseName
(
Lo
ng
deptId
)
{
public
String
selectEnterpriseName
(
Stri
ng
deptId
)
{
String
enterpriseName
=
tProjectInfoMapper
.
selectEnterpriseName
(
deptId
);
String
enterpriseName
=
tProjectInfoMapper
.
selectEnterpriseName
(
deptId
);
return
enterpriseName
;
return
enterpriseName
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TWorkOrderServiceImpl.java
View file @
903dbaf4
...
@@ -96,7 +96,7 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
...
@@ -96,7 +96,7 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
tWorkOrder
.
setCreateTime
(
DateUtils
.
getNowDate
());
tWorkOrder
.
setCreateTime
(
DateUtils
.
getNowDate
());
tWorkOrder
.
setCreateBy
(
SecurityUtils
.
getUsername
());
tWorkOrder
.
setCreateBy
(
SecurityUtils
.
getUsername
());
Lo
ng
enterpriseId
=
user
.
getDeptId
();
Stri
ng
enterpriseId
=
user
.
getDeptId
();
if
(
null
!=
enterpriseId
){
if
(
null
!=
enterpriseId
){
if
(
"-2"
.
equals
(
enterpriseId
.
toString
())){
if
(
"-2"
.
equals
(
enterpriseId
.
toString
())){
tWorkOrder
.
setWorkCreateEnterpriseId
(
"-2"
);
tWorkOrder
.
setWorkCreateEnterpriseId
(
"-2"
);
...
@@ -118,8 +118,8 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
...
@@ -118,8 +118,8 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
}
}
}
}
if
(
tWorkOrder
.
getCreateType
()
!=
null
&&
tWorkOrder
.
getCreateType
()==
2
){
if
(
tWorkOrder
.
getCreateType
()
!=
null
&&
tWorkOrder
.
getCreateType
()==
2
){
tWorkOrder
.
setShangbaoTime
(
new
Date
(
new
Date
().
getTime
()+
1000
*
60
*
5
));
tWorkOrder
.
setShangbaoTime
(
new
Date
(
System
.
currentTimeMillis
()+
1000
*
60
*
5
));
tWorkOrder
.
setJiedanTime
(
new
Date
(
new
Date
().
getTime
()-
1000
*
60
*
5
));
tWorkOrder
.
setJiedanTime
(
new
Date
(
System
.
currentTimeMillis
()-
1000
*
60
*
5
));
}
}
return
tWorkOrderMapper
.
insertTWorkOrder
(
tWorkOrder
);
return
tWorkOrderMapper
.
insertTWorkOrder
(
tWorkOrder
);
}
}
...
...
zh-baseversion-system/src/main/resources/mapper/system/TEnterpriseInfoMapper.xml
View file @
903dbaf4
...
@@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by enterprise_id desc
order by enterprise_id desc
</select>
</select>
<select
id=
"selectTEnterpriseInfoById"
parameterType=
"
Lo
ng"
resultMap=
"TEnterpriseInfoResult"
>
<select
id=
"selectTEnterpriseInfoById"
parameterType=
"
Stri
ng"
resultMap=
"TEnterpriseInfoResult"
>
<include
refid=
"selectTEnterpriseInfoVo"
/>
<include
refid=
"selectTEnterpriseInfoVo"
/>
where enterprise_id = #{enterpriseId} and is_del='0'
where enterprise_id = #{enterpriseId} and is_del='0'
</select>
</select>
...
@@ -61,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -61,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert
id=
"insertTEnterpriseInfo"
parameterType=
"TEnterpriseInfo"
useGeneratedKeys=
"true"
keyProperty=
"enterpriseId"
>
<insert
id=
"insertTEnterpriseInfo"
parameterType=
"TEnterpriseInfo"
useGeneratedKeys=
"true"
keyProperty=
"enterpriseId"
>
insert into t_enterprise_info
insert into t_enterprise_info
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"enterpriseId != null"
>
enterprise_id,
</if>
<if
test=
"createEnterpriseId != null"
>
create_enterprise_id,
</if>
<if
test=
"createEnterpriseId != null"
>
create_enterprise_id,
</if>
<if
test=
"enterpriseName != null"
>
enterprise_name,
</if>
<if
test=
"enterpriseName != null"
>
enterprise_name,
</if>
<if
test=
"enterpriseType!=null"
>
enterprise_type,
</if>
<if
test=
"enterpriseType!=null"
>
enterprise_type,
</if>
...
@@ -82,6 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -82,6 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"doDusiness != null"
>
do_business,
</if>
<if
test=
"doDusiness != null"
>
do_business,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"enterpriseId != null"
>
#{enterpriseId},
</if>
<if
test=
"createEnterpriseId != null"
>
#{createEnterpriseId},
</if>
<if
test=
"createEnterpriseId != null"
>
#{createEnterpriseId},
</if>
<if
test=
"enterpriseName != null"
>
#{enterpriseName},
</if>
<if
test=
"enterpriseName != null"
>
#{enterpriseName},
</if>
<if
test=
"enterpriseType != null"
>
#{enterpriseType},
</if>
<if
test=
"enterpriseType != null"
>
#{enterpriseType},
</if>
...
@@ -128,7 +130,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -128,7 +130,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where enterprise_id = #{enterpriseId}
where enterprise_id = #{enterpriseId}
</update>
</update>
<update
id=
"deleteTEnterpriseInfoById"
parameterType=
"
Lo
ng"
>
<update
id=
"deleteTEnterpriseInfoById"
parameterType=
"
Stri
ng"
>
update t_enterprise_info set is_del='1' where enterprise_id = #{enterpriseId}
update t_enterprise_info set is_del='1' where enterprise_id = #{enterpriseId}
</update>
</update>
...
...
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