Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz商业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz商业套件
iBiz商业中心
提交
975ce6e0
提交
975ce6e0
编写于
10月 23, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
f4deed7a
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
9 行增加
和
9 行删除
+9
-9
Ir_model_fieldsMapper.java
...esscentral/core/odoo_ir/mapper/Ir_model_fieldsMapper.java
+1
-1
IIr_model_fieldsService.java
...central/core/odoo_ir/service/IIr_model_fieldsService.java
+1
-1
Ir_model_fieldsServiceImpl.java
...core/odoo_ir/service/impl/Ir_model_fieldsServiceImpl.java
+2
-2
Ir_model_fieldsMapper.xml
.../mapper/odoo_ir/ir_model_fields/Ir_model_fieldsMapper.xml
+5
-5
未找到文件。
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_ir/mapper/Ir_model_fieldsMapper.java
浏览文件 @
975ce6e0
...
@@ -20,7 +20,7 @@ import com.alibaba.fastjson.JSONObject;
...
@@ -20,7 +20,7 @@ import com.alibaba.fastjson.JSONObject;
public
interface
Ir_model_fieldsMapper
extends
BaseMapper
<
Ir_model_fields
>{
public
interface
Ir_model_fieldsMapper
extends
BaseMapper
<
Ir_model_fields
>{
Page
<
Ir_model_fields
>
searchDefault
(
IPage
page
,
@Param
(
"srf"
)
Ir_model_fieldsSearchContext
context
,
@Param
(
"ew"
)
Wrapper
<
Ir_model_fields
>
wrapper
)
;
Page
<
Ir_model_fields
>
searchDefault
(
IPage
page
,
@Param
(
"srf"
)
Ir_model_fieldsSearchContext
context
,
@Param
(
"ew"
)
Wrapper
<
Ir_model_fields
>
wrapper
)
;
Page
<
Ir_model_fields
>
searchTrackingField
(
IPage
page
,
@Param
(
"srf"
)
Ir_model_fieldsSearchContext
context
,
@Param
(
"ew"
)
Wrapper
<
Ir_model_fields
>
wrapper
)
;
Page
<
Ir_model_fields
>
searchTrackingField
s
(
IPage
page
,
@Param
(
"srf"
)
Ir_model_fieldsSearchContext
context
,
@Param
(
"ew"
)
Wrapper
<
Ir_model_fields
>
wrapper
)
;
@Override
@Override
Ir_model_fields
selectById
(
Serializable
id
);
Ir_model_fields
selectById
(
Serializable
id
);
@Override
@Override
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_ir/service/IIr_model_fieldsService.java
浏览文件 @
975ce6e0
...
@@ -38,7 +38,7 @@ public interface IIr_model_fieldsService extends IService<Ir_model_fields>{
...
@@ -38,7 +38,7 @@ public interface IIr_model_fieldsService extends IService<Ir_model_fields>{
boolean
save
(
Ir_model_fields
et
)
;
boolean
save
(
Ir_model_fields
et
)
;
void
saveBatch
(
List
<
Ir_model_fields
>
list
)
;
void
saveBatch
(
List
<
Ir_model_fields
>
list
)
;
Page
<
Ir_model_fields
>
searchDefault
(
Ir_model_fieldsSearchContext
context
)
;
Page
<
Ir_model_fields
>
searchDefault
(
Ir_model_fieldsSearchContext
context
)
;
Page
<
Ir_model_fields
>
searchTrackingField
(
Ir_model_fieldsSearchContext
context
)
;
Page
<
Ir_model_fields
>
searchTrackingField
s
(
Ir_model_fieldsSearchContext
context
)
;
List
<
Ir_model_fields
>
selectByModelId
(
Long
id
)
;
List
<
Ir_model_fields
>
selectByModelId
(
Long
id
)
;
void
removeByModelId
(
Long
id
)
;
void
removeByModelId
(
Long
id
)
;
/**
/**
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/odoo_ir/service/impl/Ir_model_fieldsServiceImpl.java
浏览文件 @
975ce6e0
...
@@ -175,8 +175,8 @@ public class Ir_model_fieldsServiceImpl extends ServiceImpl<Ir_model_fieldsMappe
...
@@ -175,8 +175,8 @@ public class Ir_model_fieldsServiceImpl extends ServiceImpl<Ir_model_fieldsMappe
* 查询集合 跟踪字段
* 查询集合 跟踪字段
*/
*/
@Override
@Override
public
Page
<
Ir_model_fields
>
searchTrackingField
(
Ir_model_fieldsSearchContext
context
)
{
public
Page
<
Ir_model_fields
>
searchTrackingField
s
(
Ir_model_fieldsSearchContext
context
)
{
com
.
baomidou
.
mybatisplus
.
extension
.
plugins
.
pagination
.
Page
<
Ir_model_fields
>
pages
=
baseMapper
.
searchTrackingField
(
context
.
getPages
(),
context
,
context
.
getSelectCond
());
com
.
baomidou
.
mybatisplus
.
extension
.
plugins
.
pagination
.
Page
<
Ir_model_fields
>
pages
=
baseMapper
.
searchTrackingField
s
(
context
.
getPages
(),
context
,
context
.
getSelectCond
());
return
new
PageImpl
<
Ir_model_fields
>(
pages
.
getRecords
(),
context
.
getPageable
(),
pages
.
getTotal
());
return
new
PageImpl
<
Ir_model_fields
>(
pages
.
getRecords
(),
context
.
getPageable
(),
pages
.
getTotal
());
}
}
...
...
businesscentral-core/src/main/resources/mapper/odoo_ir/ir_model_fields/Ir_model_fieldsMapper.xml
浏览文件 @
975ce6e0
...
@@ -36,11 +36,11 @@
...
@@ -36,11 +36,11 @@
<if
test=
"ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere"
>
${ew.sqlSegment}
</if>
<if
test=
"ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere"
>
${ew.sqlSegment}
</if>
</select>
</select>
<!--数据集合[TrackingField]-->
<!--数据集合[TrackingField
s
]-->
<select
id=
"searchTrackingField"
parameterType=
"cn.ibizlab.businesscentral.core.odoo_ir.filter.Ir_model_fieldsSearchContext"
resultMap=
"Ir_model_fieldsResultMap"
>
<select
id=
"searchTrackingField
s
"
parameterType=
"cn.ibizlab.businesscentral.core.odoo_ir.filter.Ir_model_fieldsSearchContext"
resultMap=
"Ir_model_fieldsResultMap"
>
select * from (
select * from (
select t1.* from (
select t1.* from (
<include
refid=
"TrackingField"
/>
<include
refid=
"TrackingField
s
"
/>
)t1
)t1
<where><if
test=
"ew!=null and ew.sqlSegment!=null and !ew.emptyOfWhere"
>
${ew.sqlSegment}
</if></where>
<where><if
test=
"ew!=null and ew.sqlSegment!=null and !ew.emptyOfWhere"
>
${ew.sqlSegment}
</if></where>
<if
test=
"ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere"
>
${ew.sqlSegment}
</if>
<if
test=
"ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere"
>
${ew.sqlSegment}
</if>
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
<![CDATA[ SELECT t1.FIELD_DESCRIPTION, t1.ID, t1.MODEL, t1.MODEL_ID, t1.NAME, t1.TRACKING FROM IR_MODEL_FIELDS t1
<![CDATA[ SELECT t1.FIELD_DESCRIPTION, t1.ID, t1.MODEL, t1.MODEL_ID, t1.NAME, t1.TRACKING FROM IR_MODEL_FIELDS t1
]]>
]]>
</sql>
</sql>
<!--数据查询[TrackingField]-->
<!--数据查询[TrackingField
s
]-->
<sql
id=
"TrackingField"
databaseId=
"postgresql"
>
<sql
id=
"TrackingField
s
"
databaseId=
"postgresql"
>
<![CDATA[ SELECT t1.FIELD_DESCRIPTION, t1.ID, t1.MODEL, t1.MODEL_ID, t1.NAME, t1.TRACKING FROM IR_MODEL_FIELDS t1
<![CDATA[ SELECT t1.FIELD_DESCRIPTION, t1.ID, t1.MODEL, t1.MODEL_ID, t1.NAME, t1.TRACKING FROM IR_MODEL_FIELDS t1
WHERE ( t1.TRACKING IS NOT NULL )
WHERE ( t1.TRACKING IS NOT NULL )
]]>
]]>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录