Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jz-dmp-service
Project
Project
Details
Activity
Releases
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
姚本章
jz-dmp-service
Commits
a0c41ac7
Commit
a0c41ac7
authored
Mar 09, 2021
by
mcb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dmp_dev' of
http://gitlab.ioubuy.cn/yaobenzhang/jz-dmp-service
into dmp_dev
parents
cc42cd8a
32967afd
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
185 additions
and
18 deletions
+185
-18
DmpPublicConfigInfoController.java
.../controller/projconfig/DmpPublicConfigInfoController.java
+22
-0
DmpComputEngineDto.java
...odules/controller/projconfig/bean/DmpComputEngineDto.java
+11
-0
DmpPublicConfigInfoDto.java
...es/controller/projconfig/bean/DmpPublicConfigInfoDto.java
+14
-0
MyDmpComputEngineConverter.java
...ontroller/projconfig/bean/MyDmpComputEngineConverter.java
+55
-0
DmpPublicConfigInfoService.java
...odules/service/projconfig/DmpPublicConfigInfoService.java
+11
-0
DmpProjectConfigInfoServiceImpl.java
...vice/projconfig/impl/DmpProjectConfigInfoServiceImpl.java
+21
-13
DmpPublicConfigInfoServiceImpl.java
...rvice/projconfig/impl/DmpPublicConfigInfoServiceImpl.java
+33
-0
DmpComputEngineMapper.xml
...ain/resources/mapper/projconfig/DmpComputEngineMapper.xml
+14
-1
DmpProjectConfigEngineMapper.xml
...ources/mapper/projconfig/DmpProjectConfigEngineMapper.xml
+2
-2
DmpProjectConfigInfoMapper.xml
...esources/mapper/projconfig/DmpProjectConfigInfoMapper.xml
+2
-2
No files found.
src/main/java/com/jz/dmp/modules/controller/projconfig/DmpPublicConfigInfoController.java
View file @
a0c41ac7
...
@@ -13,6 +13,8 @@ import com.jz.common.bean.BaseBeanResponse;
...
@@ -13,6 +13,8 @@ import com.jz.common.bean.BaseBeanResponse;
import
com.jz.common.constant.StatuConstant
;
import
com.jz.common.constant.StatuConstant
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpComputEngineDto
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpComputEngineDto
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpComputEngineRequest
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpComputEngineRequest
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoDto
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoRequest
;
import
com.jz.dmp.modules.model.DmpPublicConfigInfo
;
import
com.jz.dmp.modules.model.DmpPublicConfigInfo
;
import
com.jz.dmp.modules.service.projconfig.DmpComputEngineService
;
import
com.jz.dmp.modules.service.projconfig.DmpComputEngineService
;
import
com.jz.dmp.modules.service.projconfig.DmpPublicConfigInfoService
;
import
com.jz.dmp.modules.service.projconfig.DmpPublicConfigInfoService
;
...
@@ -76,4 +78,24 @@ public class DmpPublicConfigInfoController {
...
@@ -76,4 +78,24 @@ public class DmpPublicConfigInfoController {
return
baseBeanResponse
;
return
baseBeanResponse
;
}
}
/**查询公共配置
* @param dmpPublicConfigInfoRequest
* @return
*/
@MethodCallLogPrint
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/findOne"
)
@ApiOperation
(
value
=
"查询公共配置"
,
notes
=
"查询公共配置"
)
public
BaseBeanResponse
<
DmpPublicConfigInfoDto
>
findOne
(
HttpServletRequest
httpRequest
){
BaseBeanResponse
<
DmpPublicConfigInfoDto
>
baseBeanResponse
=
new
BaseBeanResponse
<
DmpPublicConfigInfoDto
>();
try
{
baseBeanResponse
=
dmpPublicConfigInfoService
.
findOne
(
httpRequest
);
}
catch
(
Exception
e
)
{
baseBeanResponse
.
setMessage
(
"查询失败"
);
baseBeanResponse
.
setCode
(
StatuConstant
.
FAILURE_CODE
);
e
.
printStackTrace
();
}
return
baseBeanResponse
;
}
}
}
src/main/java/com/jz/dmp/modules/controller/projconfig/bean/DmpComputEngineDto.java
View file @
a0c41ac7
...
@@ -23,6 +23,9 @@ public class DmpComputEngineDto extends DmpComputEngine {
...
@@ -23,6 +23,9 @@ public class DmpComputEngineDto extends DmpComputEngine {
@ApiModelProperty
(
value
=
"计算引擎参数列表"
)
@ApiModelProperty
(
value
=
"计算引擎参数列表"
)
private
List
<
DmpComputEngineParamDto
>
paramDtos
;
private
List
<
DmpComputEngineParamDto
>
paramDtos
;
@ApiModelProperty
(
value
=
"计算引擎公共参数列表"
)
private
List
<
DmpComputEngineParamDto
>
pubParamDtos
;
public
List
<
DmpComputEngineParamDto
>
getParamDtos
()
{
public
List
<
DmpComputEngineParamDto
>
getParamDtos
()
{
return
paramDtos
;
return
paramDtos
;
...
@@ -32,4 +35,12 @@ public class DmpComputEngineDto extends DmpComputEngine {
...
@@ -32,4 +35,12 @@ public class DmpComputEngineDto extends DmpComputEngine {
this
.
paramDtos
=
paramDtos
;
this
.
paramDtos
=
paramDtos
;
}
}
public
List
<
DmpComputEngineParamDto
>
getPubParamDtos
()
{
return
pubParamDtos
;
}
public
void
setPubParamDtos
(
List
<
DmpComputEngineParamDto
>
pubParamDtos
)
{
this
.
pubParamDtos
=
pubParamDtos
;
}
}
}
src/main/java/com/jz/dmp/modules/controller/projconfig/bean/DmpPublicConfigInfoDto.java
View file @
a0c41ac7
package
com
.
jz
.
dmp
.
modules
.
controller
.
projconfig
.
bean
;
package
com
.
jz
.
dmp
.
modules
.
controller
.
projconfig
.
bean
;
import
java.util.List
;
import
com.jz.dmp.modules.model.DmpPublicConfigInfo
;
import
com.jz.dmp.modules.model.DmpPublicConfigInfo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**公共配置表Dto
/**公共配置表Dto
* @author ybz
* @author ybz
...
@@ -9,5 +12,16 @@ import io.swagger.annotations.ApiModel;
...
@@ -9,5 +12,16 @@ import io.swagger.annotations.ApiModel;
*/
*/
@ApiModel
(
value
=
"公共配置表Dto"
,
description
=
"公共配置表Dto"
)
@ApiModel
(
value
=
"公共配置表Dto"
,
description
=
"公共配置表Dto"
)
public
class
DmpPublicConfigInfoDto
extends
DmpPublicConfigInfo
{
public
class
DmpPublicConfigInfoDto
extends
DmpPublicConfigInfo
{
@ApiModelProperty
(
value
=
"计算引擎列表"
)
private
List
<
DmpComputEngineDto
>
dmpComputEngineDtos
;
public
List
<
DmpComputEngineDto
>
getDmpComputEngineDtos
()
{
return
dmpComputEngineDtos
;
}
public
void
setDmpComputEngineDtos
(
List
<
DmpComputEngineDto
>
dmpComputEngineDtos
)
{
this
.
dmpComputEngineDtos
=
dmpComputEngineDtos
;
}
}
}
src/main/java/com/jz/dmp/modules/controller/projconfig/bean/MyDmpComputEngineConverter.java
0 → 100644
View file @
a0c41ac7
package
com
.
jz
.
dmp
.
modules
.
controller
.
projconfig
.
bean
;
import
java.util.ArrayList
;
import
java.util.List
;
import
org.springframework.beans.BeanUtils
;
import
com.jz.dmp.modules.model.DmpComputEngine
;
public
class
MyDmpComputEngineConverter
{
private
static
MyDmpComputEngineConverter
instance
;
private
MyDmpComputEngineConverter
()
{};
public
synchronized
static
MyDmpComputEngineConverter
INSTANCE
()
{
if
(
instance
==
null
)
{
instance
=
new
MyDmpComputEngineConverter
();
}
return
instance
;
}
public
DmpComputEngineDto
domain2dto
(
DmpComputEngine
dmpComputEngine
)
{
DmpComputEngineDto
dmpComputEngineDto
=
new
DmpComputEngineDto
();
BeanUtils
.
copyProperties
(
dmpComputEngine
,
dmpComputEngineDto
);
return
dmpComputEngineDto
;
}
public
List
<
DmpComputEngineDto
>
domain2dto
(
List
<
DmpComputEngine
>
dmpComputEngines
)
{
List
<
DmpComputEngineDto
>
dmpComputEngineDtos
=
new
ArrayList
<
DmpComputEngineDto
>();
dmpComputEngines
.
stream
().
forEach
(
x
->
{
dmpComputEngineDtos
.
add
(
domain2dto
(
x
));
});
return
dmpComputEngineDtos
;
}
public
DmpComputEngine
dto2domain
(
DmpComputEngineDto
dmpComputEngineDto
)
{
DmpComputEngine
dmpComputEngine
=
new
DmpComputEngine
();
BeanUtils
.
copyProperties
(
dmpComputEngineDto
,
dmpComputEngine
);
return
dmpComputEngine
;
}
public
List
<
DmpComputEngine
>
dto2domain
(
List
<
DmpComputEngineDto
>
dmpComputEngineDtos
)
{
List
<
DmpComputEngine
>
dmpComputEngines
=
new
ArrayList
<
DmpComputEngine
>();
dmpComputEngineDtos
.
stream
().
forEach
(
x
->
{
dmpComputEngines
.
add
(
domain2dto
(
x
));
});
return
dmpComputEngines
;
}
}
src/main/java/com/jz/dmp/modules/service/projconfig/DmpPublicConfigInfoService.java
View file @
a0c41ac7
...
@@ -132,4 +132,15 @@ public interface DmpPublicConfigInfoService {
...
@@ -132,4 +132,15 @@ public interface DmpPublicConfigInfoService {
*/
*/
public
BaseResponse
softDeleteByIds
(
List
<
Integer
>
idList
,
HttpServletRequest
httpRequest
)
throws
Exception
;
public
BaseResponse
softDeleteByIds
(
List
<
Integer
>
idList
,
HttpServletRequest
httpRequest
)
throws
Exception
;
/**
* @Title: findOne
* @Description: TODO(查询公共配置)
* @param @param httpRequest
* @param @return
* @param @throws Exception 参数
* @return BaseBeanResponse<DmpPublicConfigInfoDto> 返回类型
* @throws
*/
public
BaseBeanResponse
<
DmpPublicConfigInfoDto
>
findOne
(
HttpServletRequest
httpRequest
)
throws
Exception
;
}
}
src/main/java/com/jz/dmp/modules/service/projconfig/impl/DmpProjectConfigInfoServiceImpl.java
View file @
a0c41ac7
...
@@ -268,19 +268,27 @@ public class DmpProjectConfigInfoServiceImpl extends BaseService implements DmpP
...
@@ -268,19 +268,27 @@ public class DmpProjectConfigInfoServiceImpl extends BaseService implements DmpP
//保存选择的引擎
//保存选择的引擎
List
<
DmpProjectConfigEngine
>
dmpProjectConfigEngines
=
dmpProjectConfigInfo
.
getDmpProjectConfigEngines
();
List
<
DmpProjectConfigEngine
>
dmpProjectConfigEngines
=
dmpProjectConfigInfo
.
getDmpProjectConfigEngines
();
dmpProjectConfigEngines
=
dmpProjectConfigEngines
.
stream
().
map
(
x
->{
for
(
DmpProjectConfigEngine
dmpProjectConfigEngine
:
dmpProjectConfigEngines
)
{
x
.
setConfigId
(
dmpProjectConfigInfo
.
getProjectConfigId
());
return
x
;
dmpProjectConfigEngine
.
setConfigId
(
dmpProjectConfigInfo
.
getProjectConfigId
());
}).
collect
(
Collectors
.
toList
());
dmpProjectConfigEngine
.
setDataStatus
(
"1"
);
dmpProjectConfigEngine
.
setCreateUserId
(
getHttpRequestUserId
(
httpRequest
));
dmpProjectConfigEngineMapper
.
insertBatch
(
dmpProjectConfigEngines
);
dmpProjectConfigEngine
.
setCreateTime
(
new
Date
());
//保存填写的私有引擎参数
dmpProjectConfigEngineMapper
.
insert
(
dmpProjectConfigEngine
);
List
<
DmpProjectEngineParam
>
dmpProjectEngineParams
=
dmpProjectConfigEngines
.
stream
()
.
flatMap
(
x
->{
//保存填写的私有引擎参数
return
x
.
getDmpProjectEngineParams
().
stream
();
List
<
DmpProjectEngineParam
>
dmpProjectEngineParams
=
dmpProjectConfigEngine
.
getDmpProjectEngineParams
();
}).
collect
(
Collectors
.
toList
());
dmpProjectEngineParams
=
dmpProjectEngineParams
.
stream
().
map
(
x
->{
dmpProjectEngineParamMapper
.
insertBatch
(
dmpProjectEngineParams
);
x
.
setConfigEngineId
(
dmpProjectConfigEngine
.
getConfigEngineId
());
x
.
setDataStatus
(
"1"
);
x
.
setCreateUserId
(
getHttpRequestUserId
(
httpRequest
));
x
.
setCreateTime
(
new
Date
());
return
x
;
}).
collect
(
Collectors
.
toList
());
dmpProjectEngineParamMapper
.
insertBatch
(
dmpProjectEngineParams
);
}
baseBeanResponse
.
setCode
(
StatuConstant
.
SUCCESS_CODE
);
baseBeanResponse
.
setCode
(
StatuConstant
.
SUCCESS_CODE
);
baseBeanResponse
.
setMessage
(
"新增成功"
);
baseBeanResponse
.
setMessage
(
"新增成功"
);
...
...
src/main/java/com/jz/dmp/modules/service/projconfig/impl/DmpPublicConfigInfoServiceImpl.java
View file @
a0c41ac7
...
@@ -18,13 +18,18 @@ import com.github.pagehelper.PageInfo;
...
@@ -18,13 +18,18 @@ import com.github.pagehelper.PageInfo;
import
com.jz.common.bean.BaseBeanResponse
;
import
com.jz.common.bean.BaseBeanResponse
;
import
com.jz.common.bean.BaseResponse
;
import
com.jz.common.bean.BaseResponse
;
import
com.jz.common.bean.PageInfoResponse
;
import
com.jz.common.bean.PageInfoResponse
;
import
com.jz.common.constant.CommConstant
;
import
com.jz.common.constant.StatuConstant
;
import
com.jz.common.constant.StatuConstant
;
import
com.jz.common.persistence.BaseService
;
import
com.jz.common.persistence.BaseService
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpComputEngineDto
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoBatch
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoBatch
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoDto
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoDto
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoRequest
;
import
com.jz.dmp.modules.controller.projconfig.bean.DmpPublicConfigInfoRequest
;
import
com.jz.dmp.modules.controller.projconfig.bean.MyDmpComputEngineConverter
;
import
com.jz.dmp.modules.dao.projconfig.DmpComputEngineMapper
;
import
com.jz.dmp.modules.dao.projconfig.DmpComputEngineParamMapper
;
import
com.jz.dmp.modules.dao.projconfig.DmpComputEngineParamMapper
;
import
com.jz.dmp.modules.dao.projconfig.DmpPublicConfigInfoMapper
;
import
com.jz.dmp.modules.dao.projconfig.DmpPublicConfigInfoMapper
;
import
com.jz.dmp.modules.model.DmpComputEngine
;
import
com.jz.dmp.modules.model.DmpComputEngineParam
;
import
com.jz.dmp.modules.model.DmpComputEngineParam
;
import
com.jz.dmp.modules.model.DmpPublicConfigInfo
;
import
com.jz.dmp.modules.model.DmpPublicConfigInfo
;
import
com.jz.dmp.modules.service.projconfig.DmpComputEngineParamService
;
import
com.jz.dmp.modules.service.projconfig.DmpComputEngineParamService
;
...
@@ -44,6 +49,9 @@ public class DmpPublicConfigInfoServiceImpl extends BaseService implements DmpPu
...
@@ -44,6 +49,9 @@ public class DmpPublicConfigInfoServiceImpl extends BaseService implements DmpPu
@Autowired
@Autowired
private
DmpPublicConfigInfoMapper
dmpPublicConfigInfoMapper
;
private
DmpPublicConfigInfoMapper
dmpPublicConfigInfoMapper
;
@Autowired
private
DmpComputEngineMapper
dmpComputEngineMapper
;
@Autowired
@Autowired
private
DmpComputEngineParamMapper
dmpComputEngineParamMapper
;
private
DmpComputEngineParamMapper
dmpComputEngineParamMapper
;
...
@@ -903,4 +911,29 @@ public class DmpPublicConfigInfoServiceImpl extends BaseService implements DmpPu
...
@@ -903,4 +911,29 @@ public class DmpPublicConfigInfoServiceImpl extends BaseService implements DmpPu
return
baseResponse
;
return
baseResponse
;
}
}
/**
*获取公共配置
*/
@Override
public
BaseBeanResponse
<
DmpPublicConfigInfoDto
>
findOne
(
HttpServletRequest
httpRequest
)
throws
Exception
{
BaseBeanResponse
<
DmpPublicConfigInfoDto
>
baseBeanResponse
=
new
BaseBeanResponse
<
DmpPublicConfigInfoDto
>();
DmpPublicConfigInfoDto
dmpPublicConfigInfoDto
=
new
DmpPublicConfigInfoDto
();
Map
<
String
,
Object
>
param
=
new
HashMap
<
String
,
Object
>();
List
<
DmpPublicConfigInfoDto
>
list
=
dmpPublicConfigInfoMapper
.
findList
(
param
);
if
(!
CollectionUtils
.
isEmpty
(
list
))
{
dmpPublicConfigInfoDto
=
list
.
get
(
0
);
Map
<
String
,
Object
>
param2
=
new
HashMap
<
String
,
Object
>();
List
<
DmpComputEngineDto
>
dmpComputEngineDtos
=
dmpComputEngineMapper
.
findList
(
param2
);
dmpPublicConfigInfoDto
.
setDmpComputEngineDtos
(
dmpComputEngineDtos
);
}
baseBeanResponse
.
setCode
(
StatuConstant
.
SUCCESS_CODE
);
baseBeanResponse
.
setMessage
(
"查询成功"
);
baseBeanResponse
.
setData
(
dmpPublicConfigInfoDto
);
return
baseBeanResponse
;
}
}
}
src/main/resources/mapper/projconfig/DmpComputEngineMapper.xml
View file @
a0c41ac7
...
@@ -31,6 +31,10 @@
...
@@ -31,6 +31,10 @@
<collection
property=
"paramDtos"
ofType=
"paramResultMap"
javaType=
"java.util.List"
<collection
property=
"paramDtos"
ofType=
"paramResultMap"
javaType=
"java.util.List"
column=
"engine_id"
select=
"selectParamsByEngineId"
>
column=
"engine_id"
select=
"selectParamsByEngineId"
>
</collection>
</collection>
<!-- /*$BaseDtoResultMapContent$*/ -->
<collection
property=
"pubParamDtos"
ofType=
"paramResultMap"
javaType=
"java.util.List"
column=
"engine_id"
select=
"selectPubParamsByEngineId"
>
</collection>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
@@ -55,7 +59,16 @@
...
@@ -55,7 +59,16 @@
<include
refid=
"param_Column_List"
/>
<include
refid=
"param_Column_List"
/>
from dmp_comput_engine_param
from dmp_comput_engine_param
where engine_id = #{engineId,jdbcType=INTEGER}
where engine_id = #{engineId,jdbcType=INTEGER}
AND data_status='1'
AND data_status='1' AND param_type='1'
</select>
<!-- 根据计算引擎封装引擎公共参数 -->
<select
id=
"selectPubParamsByEngineId"
resultMap=
"paramResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"param_Column_List"
/>
from dmp_comput_engine_param
where engine_id = #{engineId,jdbcType=INTEGER}
AND data_status='1' AND param_type='0'
</select>
</select>
<!-- 根据主键查询计算引擎表 -->
<!-- 根据主键查询计算引擎表 -->
...
...
src/main/resources/mapper/projconfig/DmpProjectConfigEngineMapper.xml
View file @
a0c41ac7
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</update>
</update>
<!-- 插入项目配置计算引擎关系表 -->
<!-- 插入项目配置计算引擎关系表 -->
<insert
id=
"insert"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigEngine"
>
<insert
id=
"insert"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigEngine"
useGeneratedKeys=
"true"
keyProperty=
"configEngineId"
>
insert into dmp_project_config_engine (
insert into dmp_project_config_engine (
config_engine_id, config_id, engine_id, remark, data_status,
config_engine_id, config_id, engine_id, remark, data_status,
create_user_id, create_time, update_user_id, update_time
create_user_id, create_time, update_user_id, update_time
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
</insert>
</insert>
<!-- 选择性插入项目配置计算引擎关系表 -->
<!-- 选择性插入项目配置计算引擎关系表 -->
<insert
id=
"insertSelective"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigEngine"
>
<insert
id=
"insertSelective"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigEngine"
useGeneratedKeys=
"true"
keyProperty=
"configEngineId"
>
insert into dmp_project_config_engine
insert into dmp_project_config_engine
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"configEngineId != null"
>
<if
test=
"configEngineId != null"
>
...
...
src/main/resources/mapper/projconfig/DmpProjectConfigInfoMapper.xml
View file @
a0c41ac7
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
</update>
</update>
<!-- 插入项目配置表 -->
<!-- 插入项目配置表 -->
<insert
id=
"insert"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigInfo"
>
<insert
id=
"insert"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigInfo"
useGeneratedKeys=
"true"
keyProperty=
"projectConfigId"
>
insert into dmp_project_config_info (
insert into dmp_project_config_info (
project_config_id, project_id, remark, data_status, create_user_id,
project_config_id, project_id, remark, data_status, create_user_id,
create_time, update_user_id, update_time
create_time, update_user_id, update_time
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
</insert>
</insert>
<!-- 选择性插入项目配置表 -->
<!-- 选择性插入项目配置表 -->
<insert
id=
"insertSelective"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigInfo"
>
<insert
id=
"insertSelective"
parameterType=
"com.jz.dmp.modules.model.DmpProjectConfigInfo"
useGeneratedKeys=
"true"
keyProperty=
"projectConfigId"
>
insert into dmp_project_config_info
insert into dmp_project_config_info
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"projectConfigId != null"
>
<if
test=
"projectConfigId != null"
>
...
...
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