Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
5c658844
提交
5c658844
编写于
11月 15, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
90c6fba5
变更
47
隐藏空白字符变更
内嵌
并排
正在显示
47 个修改的文件
包含
554 行增加
和
1200 行删除
+554
-1200
dynadashboard-service-base.ts
...b/src/service/dynadashboard/dynadashboard-service-base.ts
+10
-22
ibizaccount-service-base.ts
app_Web/src/service/ibizaccount/ibizaccount-service-base.ts
+10
-22
ibizappctrl-service-base.ts
app_Web/src/service/ibizappctrl/ibizappctrl-service-base.ts
+10
-22
ibizappeditor-service-base.ts
...b/src/service/ibizappeditor/ibizappeditor-service-base.ts
+10
-22
ibizappextendeditor-service-base.ts
...e/ibizappextendeditor/ibizappextendeditor-service-base.ts
+10
-22
ibizappview-service-base.ts
app_Web/src/service/ibizappview/ibizappview-service-base.ts
+10
-22
ibizbook-service-base.ts
app_Web/src/service/ibizbook/ibizbook-service-base.ts
+10
-22
ibizcpu-service-base.ts
app_Web/src/service/ibizcpu/ibizcpu-service-base.ts
+10
-22
ibizcustom-service-base.ts
app_Web/src/service/ibizcustom/ibizcustom-service-base.ts
+10
-22
ibizcustomer-intf-service-base.ts
...rvice/ibizcustomer-intf/ibizcustomer-intf-service-base.ts
+14
-30
ibizcustomer-mg-service-base.ts
...c/service/ibizcustomer-mg/ibizcustomer-mg-service-base.ts
+10
-22
ibizcustomer-service-base.ts
...Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
+10
-22
ibizhardware-service-base.ts
...Web/src/service/ibizhardware/ibizhardware-service-base.ts
+11
-24
ibizorder-detail-service-base.ts
...service/ibizorder-detail/ibizorder-detail-service-base.ts
+32
-66
ibizorder-type-service-base.ts
...src/service/ibizorder-type/ibizorder-type-service-base.ts
+12
-26
ibizorder-service-base.ts
app_Web/src/service/ibizorder/ibizorder-service-base.ts
+44
-90
ibizsample-service-base.ts
app_Web/src/service/ibizsample/ibizsample-service-base.ts
+12
-26
ibizsample0001-service-base.ts
...src/service/ibizsample0001/ibizsample0001-service-base.ts
+20
-42
ibizsample0002-service-base.ts
...src/service/ibizsample0002/ibizsample0002-service-base.ts
+10
-22
ibizsample0003-service-base.ts
...src/service/ibizsample0003/ibizsample0003-service-base.ts
+14
-30
ibizsample0004-service-base.ts
...src/service/ibizsample0004/ibizsample0004-service-base.ts
+10
-22
ibizsample0005-service-base.ts
...src/service/ibizsample0005/ibizsample0005-service-base.ts
+10
-22
ibizsample0006-service-base.ts
...src/service/ibizsample0006/ibizsample0006-service-base.ts
+10
-22
ibizsample0007-service-base.ts
...src/service/ibizsample0007/ibizsample0007-service-base.ts
+12
-26
ibizsample0008-service-base.ts
...src/service/ibizsample0008/ibizsample0008-service-base.ts
+10
-22
ibizsample0009-service-base.ts
...src/service/ibizsample0009/ibizsample0009-service-base.ts
+10
-22
ibizsample0010-service-base.ts
...src/service/ibizsample0010/ibizsample0010-service-base.ts
+10
-22
ibizsample0011-service-base.ts
...src/service/ibizsample0011/ibizsample0011-service-base.ts
+10
-22
ibizsample0012-service-base.ts
...src/service/ibizsample0012/ibizsample0012-service-base.ts
+10
-22
ibizsample0013-service-base.ts
...src/service/ibizsample0013/ibizsample0013-service-base.ts
+10
-22
ibizsample0014-service-base.ts
...src/service/ibizsample0014/ibizsample0014-service-base.ts
+12
-26
ibizsample0015-service-base.ts
...src/service/ibizsample0015/ibizsample0015-service-base.ts
+10
-22
ibizsample0016-service-base.ts
...src/service/ibizsample0016/ibizsample0016-service-base.ts
+10
-22
ibizsample0017-service-base.ts
...src/service/ibizsample0017/ibizsample0017-service-base.ts
+12
-26
ibizsample0018-service-base.ts
...src/service/ibizsample0018/ibizsample0018-service-base.ts
+10
-22
ibizsample0019-service-base.ts
...src/service/ibizsample0019/ibizsample0019-service-base.ts
+10
-22
ibizsample0020-service-base.ts
...src/service/ibizsample0020/ibizsample0020-service-base.ts
+10
-22
ibizsample0021-service-base.ts
...src/service/ibizsample0021/ibizsample0021-service-base.ts
+10
-22
ibizsoftware-suit-service-base.ts
...rvice/ibizsoftware-suit/ibizsoftware-suit-service-base.ts
+10
-22
ibizstorage-service-base.ts
app_Web/src/service/ibizstorage/ibizstorage-service-base.ts
+10
-22
ibizsupplier-service-base.ts
...Web/src/service/ibizsupplier/ibizsupplier-service-base.ts
+10
-22
ibiztask-service-base.ts
app_Web/src/service/ibiztask/ibiztask-service-base.ts
+10
-22
ibiztaskteam-service-base.ts
...Web/src/service/ibiztaskteam/ibiztaskteam-service-base.ts
+0
-2
ibizuniproduct-service-base.ts
...src/service/ibizuniproduct/ibizuniproduct-service-base.ts
+11
-24
micro-component-service-base.ts
...c/service/micro-component/micro-component-service-base.ts
+10
-22
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-56
未找到文件。
app_Web/src/service/dynadashboard/dynadashboard-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 动态数据看板服务对象基类
* 动态数据看板服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
* @memberof DYNADASHBOARDServiceBase
* @memberof DYNADASHBOARDServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/dynadashboards/
${
context
.
dynadashboard
}
/checkkey`
,
data
,
isloading
);
/dynadashboards/
${
context
.
dynadashboard
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/dynadashboards`
,
data
,
isloading
);
/dynadashboards`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
* @memberof DYNADASHBOARDServiceBase
* @memberof DYNADASHBOARDServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/dynadashboards/
${
context
.
dynadashboard
}
`
,
isloading
);
/dynadashboards/
${
context
.
dynadashboard
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
* @memberof DYNADASHBOARDServiceBase
* @memberof DYNADASHBOARDServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/dynadashboards/getdraft`
,
isloading
);
/dynadashboards/getdraft`
,
isloading
);
res
.
data
.
dynadashboard
=
data
.
dynadashboard
;
res
.
data
.
dynadashboard
=
data
.
dynadashboard
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
* @memberof DYNADASHBOARDServiceBase
* @memberof DYNADASHBOARDServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/dynadashboards/
${
context
.
dynadashboard
}
`
,
isloading
);
/dynadashboards/
${
context
.
dynadashboard
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/dynadashboards/
${
context
.
dynadashboard
}
/save`
,
data
,
isloading
);
/dynadashboards/
${
context
.
dynadashboard
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/dynadashboards/
${
context
.
dynadashboard
}
`
,
data
,
isloading
);
/dynadashboards/
${
context
.
dynadashboard
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/dynadashboards/fetchdefault`
,
tempData
,
isloading
);
/dynadashboards/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/dynadashboards/searchdefault`
,
tempData
,
isloading
);
/dynadashboards/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class DYNADASHBOARDServiceBase extends EntityService {
* @memberof DYNADASHBOARDServiceBase
* @memberof DYNADASHBOARDServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/dynadashboards/
${
context
.
dynadashboard
}
/select`
,
isloading
);
/dynadashboards/
${
context
.
dynadashboard
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizaccount/ibizaccount-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 账户服务对象基类
* 账户服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZAccountServiceBase extends EntityService {
* @memberof IBIZAccountServiceBase
* @memberof IBIZAccountServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizaccounts/
${
context
.
ibizaccount
}
/checkkey`
,
data
,
isloading
);
/ibizaccounts/
${
context
.
ibizaccount
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZAccountServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizaccounts`
,
data
,
isloading
);
/ibizaccounts`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZAccountServiceBase extends EntityService {
* @memberof IBIZAccountServiceBase
* @memberof IBIZAccountServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizaccounts/
${
context
.
ibizaccount
}
`
,
isloading
);
/ibizaccounts/
${
context
.
ibizaccount
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZAccountServiceBase extends EntityService {
* @memberof IBIZAccountServiceBase
* @memberof IBIZAccountServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizaccounts/getdraft`
,
isloading
);
/ibizaccounts/getdraft`
,
isloading
);
res
.
data
.
ibizaccount
=
data
.
ibizaccount
;
res
.
data
.
ibizaccount
=
data
.
ibizaccount
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZAccountServiceBase extends EntityService {
* @memberof IBIZAccountServiceBase
* @memberof IBIZAccountServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizaccounts/
${
context
.
ibizaccount
}
`
,
isloading
);
/ibizaccounts/
${
context
.
ibizaccount
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZAccountServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizaccounts/
${
context
.
ibizaccount
}
/save`
,
data
,
isloading
);
/ibizaccounts/
${
context
.
ibizaccount
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZAccountServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizaccounts/
${
context
.
ibizaccount
}
`
,
data
,
isloading
);
/ibizaccounts/
${
context
.
ibizaccount
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZAccountServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizaccounts/fetchdefault`
,
tempData
,
isloading
);
/ibizaccounts/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZAccountServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizaccounts/searchdefault`
,
tempData
,
isloading
);
/ibizaccounts/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZAccountServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZAccountServiceBase extends EntityService {
* @memberof IBIZAccountServiceBase
* @memberof IBIZAccountServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizaccounts/
${
context
.
ibizaccount
}
/select`
,
isloading
);
/ibizaccounts/
${
context
.
ibizaccount
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizappctrl/ibizappctrl-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 应用部件服务对象基类
* 应用部件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
* @memberof IBIZAPPCTRLServiceBase
* @memberof IBIZAPPCTRLServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizappctrls/
${
context
.
ibizappctrl
}
/checkkey`
,
data
,
isloading
);
/ibizappctrls/
${
context
.
ibizappctrl
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappctrls`
,
data
,
isloading
);
/ibizappctrls`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
* @memberof IBIZAPPCTRLServiceBase
* @memberof IBIZAPPCTRLServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappctrls/
${
context
.
ibizappctrl
}
`
,
isloading
);
/ibizappctrls/
${
context
.
ibizappctrl
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
* @memberof IBIZAPPCTRLServiceBase
* @memberof IBIZAPPCTRLServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappctrls/getdraft`
,
isloading
);
/ibizappctrls/getdraft`
,
isloading
);
res
.
data
.
ibizappctrl
=
data
.
ibizappctrl
;
res
.
data
.
ibizappctrl
=
data
.
ibizappctrl
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
* @memberof IBIZAPPCTRLServiceBase
* @memberof IBIZAPPCTRLServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizappctrls/
${
context
.
ibizappctrl
}
`
,
isloading
);
/ibizappctrls/
${
context
.
ibizappctrl
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappctrls/
${
context
.
ibizappctrl
}
/save`
,
data
,
isloading
);
/ibizappctrls/
${
context
.
ibizappctrl
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizappctrls/
${
context
.
ibizappctrl
}
`
,
data
,
isloading
);
/ibizappctrls/
${
context
.
ibizappctrl
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappctrls/fetchdefault`
,
tempData
,
isloading
);
/ibizappctrls/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizappctrls/searchdefault`
,
tempData
,
isloading
);
/ibizappctrls/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZAPPCTRLServiceBase extends EntityService {
* @memberof IBIZAPPCTRLServiceBase
* @memberof IBIZAPPCTRLServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappctrls/
${
context
.
ibizappctrl
}
/select`
,
isloading
);
/ibizappctrls/
${
context
.
ibizappctrl
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizappeditor/ibizappeditor-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 编辑器服务对象基类
* 编辑器服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEDITORServiceBase
* @memberof IBIZAPPEDITORServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizappeditors/
${
context
.
ibizappeditor
}
/checkkey`
,
data
,
isloading
);
/ibizappeditors/
${
context
.
ibizappeditor
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappeditors`
,
data
,
isloading
);
/ibizappeditors`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEDITORServiceBase
* @memberof IBIZAPPEDITORServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappeditors/
${
context
.
ibizappeditor
}
`
,
isloading
);
/ibizappeditors/
${
context
.
ibizappeditor
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEDITORServiceBase
* @memberof IBIZAPPEDITORServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappeditors/getdraft`
,
isloading
);
/ibizappeditors/getdraft`
,
isloading
);
res
.
data
.
ibizappeditor
=
data
.
ibizappeditor
;
res
.
data
.
ibizappeditor
=
data
.
ibizappeditor
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEDITORServiceBase
* @memberof IBIZAPPEDITORServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizappeditors/
${
context
.
ibizappeditor
}
`
,
isloading
);
/ibizappeditors/
${
context
.
ibizappeditor
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappeditors/
${
context
.
ibizappeditor
}
/save`
,
data
,
isloading
);
/ibizappeditors/
${
context
.
ibizappeditor
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizappeditors/
${
context
.
ibizappeditor
}
`
,
data
,
isloading
);
/ibizappeditors/
${
context
.
ibizappeditor
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappeditors/fetchdefault`
,
tempData
,
isloading
);
/ibizappeditors/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizappeditors/searchdefault`
,
tempData
,
isloading
);
/ibizappeditors/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZAPPEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEDITORServiceBase
* @memberof IBIZAPPEDITORServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappeditors/
${
context
.
ibizappeditor
}
/select`
,
isloading
);
/ibizappeditors/
${
context
.
ibizappeditor
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizappextendeditor/ibizappextendeditor-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 扩展编辑器服务对象基类
* 扩展编辑器服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEXTENDEDITORServiceBase
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/checkkey`
,
data
,
isloading
);
/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappextendeditors`
,
data
,
isloading
);
/ibizappextendeditors`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEXTENDEDITORServiceBase
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
isloading
);
/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEXTENDEDITORServiceBase
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappextendeditors/getdraft`
,
isloading
);
/ibizappextendeditors/getdraft`
,
isloading
);
res
.
data
.
ibizappextendeditor
=
data
.
ibizappextendeditor
;
res
.
data
.
ibizappextendeditor
=
data
.
ibizappextendeditor
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEXTENDEDITORServiceBase
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
isloading
);
/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/save`
,
data
,
isloading
);
/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
data
,
isloading
);
/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappextendeditors/fetchdefault`
,
tempData
,
isloading
);
/ibizappextendeditors/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizappextendeditors/searchdefault`
,
tempData
,
isloading
);
/ibizappextendeditors/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZAPPEXTENDEDITORServiceBase extends EntityService {
* @memberof IBIZAPPEXTENDEDITORServiceBase
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/select`
,
isloading
);
/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizappview/ibizappview-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 应用视图服务对象基类
* 应用视图服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
* @memberof IBIZAPPVIEWServiceBase
* @memberof IBIZAPPVIEWServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizappviews/
${
context
.
ibizappview
}
/checkkey`
,
data
,
isloading
);
/ibizappviews/
${
context
.
ibizappview
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappviews`
,
data
,
isloading
);
/ibizappviews`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
* @memberof IBIZAPPVIEWServiceBase
* @memberof IBIZAPPVIEWServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappviews/
${
context
.
ibizappview
}
`
,
isloading
);
/ibizappviews/
${
context
.
ibizappview
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
* @memberof IBIZAPPVIEWServiceBase
* @memberof IBIZAPPVIEWServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappviews/getdraft`
,
isloading
);
/ibizappviews/getdraft`
,
isloading
);
res
.
data
.
ibizappview
=
data
.
ibizappview
;
res
.
data
.
ibizappview
=
data
.
ibizappview
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
* @memberof IBIZAPPVIEWServiceBase
* @memberof IBIZAPPVIEWServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizappviews/
${
context
.
ibizappview
}
`
,
isloading
);
/ibizappviews/
${
context
.
ibizappview
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappviews/
${
context
.
ibizappview
}
/save`
,
data
,
isloading
);
/ibizappviews/
${
context
.
ibizappview
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizappviews/
${
context
.
ibizappview
}
`
,
data
,
isloading
);
/ibizappviews/
${
context
.
ibizappview
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappviews/fetchdefault`
,
tempData
,
isloading
);
/ibizappviews/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizappviews/searchdefault`
,
tempData
,
isloading
);
/ibizappviews/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZAPPVIEWServiceBase extends EntityService {
* @memberof IBIZAPPVIEWServiceBase
* @memberof IBIZAPPVIEWServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappviews/
${
context
.
ibizappview
}
/select`
,
isloading
);
/ibizappviews/
${
context
.
ibizappview
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizbook/ibizbook-service-base.ts
浏览文件 @
5c658844
...
@@ -8,8 +8,6 @@ import PrintLogic from '@/service/ibizbook/print-logic';
...
@@ -8,8 +8,6 @@ import PrintLogic from '@/service/ibizbook/print-logic';
/**
/**
* 图书服务对象基类
* 图书服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -55,8 +53,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -55,8 +53,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
* @memberof IBIZBOOKServiceBase
* @memberof IBIZBOOKServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizbooks/
${
context
.
ibizbook
}
/checkkey`
,
data
,
isloading
);
/ibizbooks/
${
context
.
ibizbook
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -79,8 +76,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -79,8 +76,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizbooks`
,
data
,
isloading
);
/ibizbooks`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -111,8 +107,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -111,8 +107,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
* @memberof IBIZBOOKServiceBase
* @memberof IBIZBOOKServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizbooks/
${
context
.
ibizbook
}
`
,
isloading
);
/ibizbooks/
${
context
.
ibizbook
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -127,8 +122,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -127,8 +122,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
* @memberof IBIZBOOKServiceBase
* @memberof IBIZBOOKServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizbooks/getdraft`
,
isloading
);
/ibizbooks/getdraft`
,
isloading
);
res
.
data
.
ibizbook
=
data
.
ibizbook
;
res
.
data
.
ibizbook
=
data
.
ibizbook
;
return
res
;
return
res
;
...
@@ -192,8 +186,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -192,8 +186,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
* @memberof IBIZBOOKServiceBase
* @memberof IBIZBOOKServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizbooks/
${
context
.
ibizbook
}
`
,
isloading
);
/ibizbooks/
${
context
.
ibizbook
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -209,8 +202,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -209,8 +202,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizbooks/
${
context
.
ibizbook
}
/save`
,
data
,
isloading
);
/ibizbooks/
${
context
.
ibizbook
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -227,8 +219,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -227,8 +219,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizbooks/
${
context
.
ibizbook
}
`
,
data
,
isloading
);
/ibizbooks/
${
context
.
ibizbook
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -254,8 +245,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -254,8 +245,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizbooks/fetchdefault`
,
tempData
,
isloading
);
/ibizbooks/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -270,8 +260,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -270,8 +260,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizbooks/searchdefault`
,
tempData
,
isloading
);
/ibizbooks/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -284,8 +273,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
...
@@ -284,8 +273,7 @@ export default class IBIZBOOKServiceBase extends EntityService {
* @memberof IBIZBOOKServiceBase
* @memberof IBIZBOOKServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizbooks/
${
context
.
ibizbook
}
/select`
,
isloading
);
/ibizbooks/
${
context
.
ibizbook
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizcpu/ibizcpu-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 处理器服务对象基类
* 处理器服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZCPUServiceBase extends EntityService {
* @memberof IBIZCPUServiceBase
* @memberof IBIZCPUServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizcpus/
${
context
.
ibizcpu
}
/checkkey`
,
data
,
isloading
);
/ibizcpus/
${
context
.
ibizcpu
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZCPUServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcpus`
,
data
,
isloading
);
/ibizcpus`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZCPUServiceBase extends EntityService {
* @memberof IBIZCPUServiceBase
* @memberof IBIZCPUServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcpus/
${
context
.
ibizcpu
}
`
,
isloading
);
/ibizcpus/
${
context
.
ibizcpu
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZCPUServiceBase extends EntityService {
* @memberof IBIZCPUServiceBase
* @memberof IBIZCPUServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcpus/getdraft`
,
isloading
);
/ibizcpus/getdraft`
,
isloading
);
res
.
data
.
ibizcpu
=
data
.
ibizcpu
;
res
.
data
.
ibizcpu
=
data
.
ibizcpu
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZCPUServiceBase extends EntityService {
* @memberof IBIZCPUServiceBase
* @memberof IBIZCPUServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizcpus/
${
context
.
ibizcpu
}
`
,
isloading
);
/ibizcpus/
${
context
.
ibizcpu
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZCPUServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcpus/
${
context
.
ibizcpu
}
/save`
,
data
,
isloading
);
/ibizcpus/
${
context
.
ibizcpu
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZCPUServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizcpus/
${
context
.
ibizcpu
}
`
,
data
,
isloading
);
/ibizcpus/
${
context
.
ibizcpu
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZCPUServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcpus/fetchdefault`
,
tempData
,
isloading
);
/ibizcpus/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZCPUServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizcpus/searchdefault`
,
tempData
,
isloading
);
/ibizcpus/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZCPUServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZCPUServiceBase extends EntityService {
* @memberof IBIZCPUServiceBase
* @memberof IBIZCPUServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcpus/
${
context
.
ibizcpu
}
/select`
,
isloading
);
/ibizcpus/
${
context
.
ibizcpu
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizcustom/ibizcustom-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 自定义服务对象基类
* 自定义服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZCustomServiceBase extends EntityService {
* @memberof IBIZCustomServiceBase
* @memberof IBIZCustomServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizcustoms/
${
context
.
ibizcustom
}
/checkkey`
,
data
,
isloading
);
/ibizcustoms/
${
context
.
ibizcustom
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZCustomServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustoms`
,
data
,
isloading
);
/ibizcustoms`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZCustomServiceBase extends EntityService {
* @memberof IBIZCustomServiceBase
* @memberof IBIZCustomServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustoms/
${
context
.
ibizcustom
}
`
,
isloading
);
/ibizcustoms/
${
context
.
ibizcustom
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZCustomServiceBase extends EntityService {
* @memberof IBIZCustomServiceBase
* @memberof IBIZCustomServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustoms/getdraft`
,
isloading
);
/ibizcustoms/getdraft`
,
isloading
);
res
.
data
.
ibizcustom
=
data
.
ibizcustom
;
res
.
data
.
ibizcustom
=
data
.
ibizcustom
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZCustomServiceBase extends EntityService {
* @memberof IBIZCustomServiceBase
* @memberof IBIZCustomServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizcustoms/
${
context
.
ibizcustom
}
`
,
isloading
);
/ibizcustoms/
${
context
.
ibizcustom
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZCustomServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustoms/
${
context
.
ibizcustom
}
/save`
,
data
,
isloading
);
/ibizcustoms/
${
context
.
ibizcustom
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZCustomServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizcustoms/
${
context
.
ibizcustom
}
`
,
data
,
isloading
);
/ibizcustoms/
${
context
.
ibizcustom
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZCustomServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustoms/fetchdefault`
,
tempData
,
isloading
);
/ibizcustoms/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZCustomServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizcustoms/searchdefault`
,
tempData
,
isloading
);
/ibizcustoms/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZCustomServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZCustomServiceBase extends EntityService {
* @memberof IBIZCustomServiceBase
* @memberof IBIZCustomServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustoms/
${
context
.
ibizcustom
}
/select`
,
isloading
);
/ibizcustoms/
${
context
.
ibizcustom
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizcustomer-intf/ibizcustomer-intf-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 客户服务对象基类
* 客户服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
* @memberof IBIZCustomer_INTFServiceBase
* @memberof IBIZCustomer_INTFServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/checkkey`
,
data
,
isloading
);
/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs`
,
data
,
isloading
);
/ibizcustomer_intfs`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
* @memberof IBIZCustomer_INTFServiceBase
* @memberof IBIZCustomer_INTFServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
`
,
isloading
);
/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
* @memberof IBIZCustomer_INTFServiceBase
* @memberof IBIZCustomer_INTFServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustomer_intfs/getdraft`
,
isloading
);
/ibizcustomer_intfs/getdraft`
,
isloading
);
res
.
data
.
ibizcustomer_intf
=
data
.
ibizcustomer_intf
;
res
.
data
.
ibizcustomer_intf
=
data
.
ibizcustomer_intf
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
* @memberof IBIZCustomer_INTFServiceBase
* @memberof IBIZCustomer_INTFServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
`
,
isloading
);
/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/save`
,
data
,
isloading
);
/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
`
,
data
,
isloading
);
/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -174,8 +165,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -174,8 +165,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
* @memberof IBIZCustomer_INTFServiceBase
* @memberof IBIZCustomer_INTFServiceBase
*/
*/
public
async
XXX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
XXX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/xxx`
,
data
,
isloading
);
/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/xxx`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -190,8 +180,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -190,8 +180,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
*/
*/
public
async
XXXBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
XXXBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/xxxbatch`
,
tempData
,
isloading
);
/ibizcustomer_intfs/xxxbatch`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
*/
*/
public
async
FetchCurCustomer
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchCurCustomer
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/fetchcurcustomer`
,
tempData
,
isloading
);
/ibizcustomer_intfs/fetchcurcustomer`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -221,8 +209,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -221,8 +209,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
*/
*/
public
async
searchCurCustomer
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchCurCustomer
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/searchcurcustomer`
,
tempData
,
isloading
);
/ibizcustomer_intfs/searchcurcustomer`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -236,8 +223,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -236,8 +223,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomer_intfs/fetchdefault`
,
tempData
,
isloading
);
/ibizcustomer_intfs/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -252,8 +238,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -252,8 +238,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizcustomer_intfs/searchdefault`
,
tempData
,
isloading
);
/ibizcustomer_intfs/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -266,8 +251,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
...
@@ -266,8 +251,7 @@ export default class IBIZCustomer_INTFServiceBase extends EntityService {
* @memberof IBIZCustomer_INTFServiceBase
* @memberof IBIZCustomer_INTFServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/select`
,
isloading
);
/ibizcustomer_intfs/
${
context
.
ibizcustomer_intf
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizcustomer-mg/ibizcustomer-mg-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 客户管理服务对象基类
* 客户管理服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
* @memberof IBIZCustomerMGServiceBase
* @memberof IBIZCustomerMGServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizcustomermgs/
${
context
.
ibizcustomermg
}
/checkkey`
,
data
,
isloading
);
/ibizcustomermgs/
${
context
.
ibizcustomermg
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustomermgs`
,
data
,
isloading
);
/ibizcustomermgs`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
* @memberof IBIZCustomerMGServiceBase
* @memberof IBIZCustomerMGServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustomermgs/
${
context
.
ibizcustomermg
}
`
,
isloading
);
/ibizcustomermgs/
${
context
.
ibizcustomermg
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
* @memberof IBIZCustomerMGServiceBase
* @memberof IBIZCustomerMGServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustomermgs/getdraft`
,
isloading
);
/ibizcustomermgs/getdraft`
,
isloading
);
res
.
data
.
ibizcustomermg
=
data
.
ibizcustomermg
;
res
.
data
.
ibizcustomermg
=
data
.
ibizcustomermg
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
* @memberof IBIZCustomerMGServiceBase
* @memberof IBIZCustomerMGServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizcustomermgs/
${
context
.
ibizcustomermg
}
`
,
isloading
);
/ibizcustomermgs/
${
context
.
ibizcustomermg
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustomermgs/
${
context
.
ibizcustomermg
}
/save`
,
data
,
isloading
);
/ibizcustomermgs/
${
context
.
ibizcustomermg
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizcustomermgs/
${
context
.
ibizcustomermg
}
`
,
data
,
isloading
);
/ibizcustomermgs/
${
context
.
ibizcustomermg
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomermgs/fetchdefault`
,
tempData
,
isloading
);
/ibizcustomermgs/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizcustomermgs/searchdefault`
,
tempData
,
isloading
);
/ibizcustomermgs/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZCustomerMGServiceBase extends EntityService {
* @memberof IBIZCustomerMGServiceBase
* @memberof IBIZCustomerMGServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomermgs/
${
context
.
ibizcustomermg
}
/select`
,
isloading
);
/ibizcustomermgs/
${
context
.
ibizcustomermg
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 客户服务对象基类
* 客户服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
* @memberof IBIZCustomerServiceBase
* @memberof IBIZCustomerServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizcustomers/
${
context
.
ibizcustomer
}
/checkkey`
,
data
,
isloading
);
/ibizcustomers/
${
context
.
ibizcustomer
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustomers`
,
data
,
isloading
);
/ibizcustomers`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
* @memberof IBIZCustomerServiceBase
* @memberof IBIZCustomerServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustomers/
${
context
.
ibizcustomer
}
`
,
isloading
);
/ibizcustomers/
${
context
.
ibizcustomer
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
* @memberof IBIZCustomerServiceBase
* @memberof IBIZCustomerServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizcustomers/getdraft`
,
isloading
);
/ibizcustomers/getdraft`
,
isloading
);
res
.
data
.
ibizcustomer
=
data
.
ibizcustomer
;
res
.
data
.
ibizcustomer
=
data
.
ibizcustomer
;
return
res
;
return
res
;
...
@@ -133,8 +127,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -133,8 +127,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
* @memberof IBIZCustomerServiceBase
* @memberof IBIZCustomerServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizcustomers/
${
context
.
ibizcustomer
}
`
,
isloading
);
/ibizcustomers/
${
context
.
ibizcustomer
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -150,8 +143,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -150,8 +143,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizcustomers/
${
context
.
ibizcustomer
}
/save`
,
data
,
isloading
);
/ibizcustomers/
${
context
.
ibizcustomer
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -168,8 +160,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -168,8 +160,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizcustomers/
${
context
.
ibizcustomer
}
`
,
data
,
isloading
);
/ibizcustomers/
${
context
.
ibizcustomer
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -185,8 +176,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -185,8 +176,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomers/fetchdefault`
,
tempData
,
isloading
);
/ibizcustomers/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -201,8 +191,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -201,8 +191,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizcustomers/searchdefault`
,
tempData
,
isloading
);
/ibizcustomers/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -215,8 +204,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
...
@@ -215,8 +204,7 @@ export default class IBIZCustomerServiceBase extends EntityService {
* @memberof IBIZCustomerServiceBase
* @memberof IBIZCustomerServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizcustomers/
${
context
.
ibizcustomer
}
/select`
,
isloading
);
/ibizcustomers/
${
context
.
ibizcustomer
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizhardware/ibizhardware-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 硬件服务对象基类
* 硬件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
* @memberof IBIZHardwareServiceBase
* @memberof IBIZHardwareServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizhardwares/
${
context
.
ibizhardware
}
/checkkey`
,
data
,
isloading
);
/ibizhardwares/
${
context
.
ibizhardware
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizhardwares`
,
data
,
isloading
);
/ibizhardwares`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
* @memberof IBIZHardwareServiceBase
* @memberof IBIZHardwareServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizhardwares/
${
context
.
ibizhardware
}
`
,
isloading
);
/ibizhardwares/
${
context
.
ibizhardware
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
* @memberof IBIZHardwareServiceBase
* @memberof IBIZHardwareServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizhardwares/getdraft`
,
isloading
);
/ibizhardwares/getdraft`
,
isloading
);
res
.
data
.
ibizhardware
=
data
.
ibizhardware
;
res
.
data
.
ibizhardware
=
data
.
ibizhardware
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
* @memberof IBIZHardwareServiceBase
* @memberof IBIZHardwareServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizhardwares/
${
context
.
ibizhardware
}
`
,
isloading
);
/ibizhardwares/
${
context
.
ibizhardware
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizhardwares/
${
context
.
ibizhardware
}
/save`
,
data
,
isloading
);
/ibizhardwares/
${
context
.
ibizhardware
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizhardwares/
${
context
.
ibizhardware
}
`
,
data
,
isloading
);
/ibizhardwares/
${
context
.
ibizhardware
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizhardwares/fetchdefault`
,
tempData
,
isloading
);
/ibizhardwares/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizhardwares/searchdefault`
,
tempData
,
isloading
);
/ibizhardwares/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -228,8 +217,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -228,8 +217,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
*/
*/
public
async
searchIndexDER
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchIndexDER
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizhardwares/searchindexder`
,
tempData
,
isloading
);
/ibizhardwares/searchindexder`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -242,8 +230,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
...
@@ -242,8 +230,7 @@ export default class IBIZHardwareServiceBase extends EntityService {
* @memberof IBIZHardwareServiceBase
* @memberof IBIZHardwareServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizhardwares/
${
context
.
ibizhardware
}
/select`
,
isloading
);
/ibizhardwares/
${
context
.
ibizhardware
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizorder-detail/ibizorder-detail-service-base.ts
浏览文件 @
5c658844
...
@@ -5,8 +5,6 @@ import GetUnitAndPriceLogic from '@/service/ibizorder-detail/get-unit-and-price-
...
@@ -5,8 +5,6 @@ import GetUnitAndPriceLogic from '@/service/ibizorder-detail/get-unit-and-price-
/**
/**
* 订单明细服务对象基类
* 订单明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -55,13 +53,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -55,13 +53,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/checkkey`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/checkkey`
,
data
,
isloading
);
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -101,8 +97,7 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -101,8 +97,7 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails`
,
data
,
isloading
);
let
countmoney
:
CountMoneyLogic
=
new
CountMoneyLogic
({
context
:
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
:
JSON
.
parse
(
JSON
.
stringify
(
res
)).
data
});
let
countmoney
:
CountMoneyLogic
=
new
CountMoneyLogic
({
context
:
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
:
JSON
.
parse
(
JSON
.
stringify
(
res
)).
data
});
let
countmoneyData
:
any
=
await
countmoney
.
onExecute
(
context
,
res
.
data
,
isloading
?
true
:
false
);
let
countmoneyData
:
any
=
await
countmoney
.
onExecute
(
context
,
res
.
data
,
isloading
?
true
:
false
);
res
=
{
status
:
200
,
data
:
countmoneyData
};
res
=
{
status
:
200
,
data
:
countmoneyData
};
...
@@ -118,8 +113,7 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -118,8 +113,7 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorderdetails`
,
data
,
isloading
);
/ibizorderdetails`
,
data
,
isloading
);
let
countmoney
:
CountMoneyLogic
=
new
CountMoneyLogic
({
context
:
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
:
JSON
.
parse
(
JSON
.
stringify
(
res
)).
data
});
let
countmoney
:
CountMoneyLogic
=
new
CountMoneyLogic
({
context
:
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
:
JSON
.
parse
(
JSON
.
stringify
(
res
)).
data
});
let
countmoneyData
:
any
=
await
countmoney
.
onExecute
(
context
,
res
.
data
,
isloading
?
true
:
false
);
let
countmoneyData
:
any
=
await
countmoney
.
onExecute
(
context
,
res
.
data
,
isloading
?
true
:
false
);
res
=
{
status
:
200
,
data
:
countmoneyData
};
res
=
{
status
:
200
,
data
:
countmoneyData
};
...
@@ -138,13 +132,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -138,13 +132,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -160,14 +152,12 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -160,14 +152,12 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/getdraft`
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/getdraft`
,
isloading
);
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
return
res
;
return
res
;
}
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorderdetails/getdraft`
,
isloading
);
/ibizorderdetails/getdraft`
,
isloading
);
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
res
.
data
.
ibizorderdetail
=
data
.
ibizorderdetail
;
return
res
;
return
res
;
...
@@ -200,12 +190,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -200,12 +190,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -222,15 +210,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -222,15 +210,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/save`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/save`
,
data
,
isloading
);
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -248,15 +234,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -248,15 +234,13 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
data
,
isloading
);
/ibizorderdetails/
${
context
.
ibizorderdetail
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -273,13 +257,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -273,13 +257,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
FetchCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchcsmxdy`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchcsmxdy`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchcsmxdy`
,
tempData
,
isloading
);
/ibizorderdetails/fetchcsmxdy`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -295,12 +277,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -295,12 +277,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
searchCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchCSMXDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchcsmxdy`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchcsmxdy`
,
tempData
,
isloading
);
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchcsmxdy`
,
tempData
,
isloading
);
/ibizorderdetails/searchcsmxdy`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -315,13 +295,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -315,13 +295,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchdefault`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchdefault`
,
tempData
,
isloading
);
/ibizorderdetails/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -337,12 +315,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -337,12 +315,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchdefault`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchdefault`
,
tempData
,
isloading
);
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchdefault`
,
tempData
,
isloading
);
/ibizorderdetails/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -357,13 +333,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -357,13 +333,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
FetchLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchlogic_0007`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchlogic_0007`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchlogic_0007`
,
tempData
,
isloading
);
/ibizorderdetails/fetchlogic_0007`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -379,12 +353,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -379,12 +353,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
searchLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchLOGIC_0007
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchlogic_0007`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchlogic_0007`
,
tempData
,
isloading
);
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchlogic_0007`
,
tempData
,
isloading
);
/ibizorderdetails/searchlogic_0007`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -399,13 +371,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -399,13 +371,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
FetchX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchx`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/fetchx`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/fetchx`
,
tempData
,
isloading
);
/ibizorderdetails/fetchx`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -421,12 +391,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -421,12 +391,10 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
public
async
searchX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
true
){
if
(
context
.
ibizorder
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchx`
,
tempData
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/searchx`
,
tempData
,
isloading
);
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorderdetails/searchx`
,
tempData
,
isloading
);
/ibizorderdetails/searchx`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -440,13 +408,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
...
@@ -440,13 +408,11 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
if
(
context
.
ibizorder
&&
context
.
ibizorderdetail
){
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/select`
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorderdetails/
${
context
.
ibizorderdetail
}
/select`
,
isloading
);
/ibizorderdetails/
${
context
.
ibizorderdetail
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizorder-type/ibizorder-type-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单类型服务对象基类
* 订单类型服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
* @memberof IBIZOrderTypeServiceBase
* @memberof IBIZOrderTypeServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizordertypes/
${
context
.
ibizordertype
}
/checkkey`
,
data
,
isloading
);
/ibizordertypes/
${
context
.
ibizordertype
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizordertypes`
,
data
,
isloading
);
/ibizordertypes`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
* @memberof IBIZOrderTypeServiceBase
* @memberof IBIZOrderTypeServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizordertypes/
${
context
.
ibizordertype
}
`
,
isloading
);
/ibizordertypes/
${
context
.
ibizordertype
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
* @memberof IBIZOrderTypeServiceBase
* @memberof IBIZOrderTypeServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizordertypes/getdraft`
,
isloading
);
/ibizordertypes/getdraft`
,
isloading
);
res
.
data
.
ibizordertype
=
data
.
ibizordertype
;
res
.
data
.
ibizordertype
=
data
.
ibizordertype
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
* @memberof IBIZOrderTypeServiceBase
* @memberof IBIZOrderTypeServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizordertypes/
${
context
.
ibizordertype
}
`
,
isloading
);
/ibizordertypes/
${
context
.
ibizordertype
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -138,8 +131,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -138,8 +131,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
* @memberof IBIZOrderTypeServiceBase
* @memberof IBIZOrderTypeServiceBase
*/
*/
public
async
ResetCodeList
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
ResetCodeList
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizordertypes/
${
context
.
ibizordertype
}
/resetcodelist`
,
data
,
isloading
);
/ibizordertypes/
${
context
.
ibizordertype
}
/resetcodelist`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -154,8 +146,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -154,8 +146,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
*/
*/
public
async
ResetCodeListBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
ResetCodeListBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizordertypes/resetcodelistbatch`
,
tempData
,
isloading
);
/ibizordertypes/resetcodelistbatch`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -170,8 +161,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -170,8 +161,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizordertypes/
${
context
.
ibizordertype
}
/save`
,
data
,
isloading
);
/ibizordertypes/
${
context
.
ibizordertype
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -188,8 +178,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -188,8 +178,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizordertypes/
${
context
.
ibizordertype
}
`
,
data
,
isloading
);
/ibizordertypes/
${
context
.
ibizordertype
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -205,8 +194,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizordertypes/fetchdefault`
,
tempData
,
isloading
);
/ibizordertypes/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -221,8 +209,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -221,8 +209,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizordertypes/searchdefault`
,
tempData
,
isloading
);
/ibizordertypes/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -235,8 +222,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
...
@@ -235,8 +222,7 @@ export default class IBIZOrderTypeServiceBase extends EntityService {
* @memberof IBIZOrderTypeServiceBase
* @memberof IBIZOrderTypeServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizordertypes/
${
context
.
ibizordertype
}
/select`
,
isloading
);
/ibizordertypes/
${
context
.
ibizordertype
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizorder/ibizorder-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单服务对象基类
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZOrderServiceBase extends EntityService {
* @memberof IBIZOrderServiceBase
* @memberof IBIZOrderServiceBase
*/
*/
public
async
BUIAction
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
BUIAction
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/buiaction`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/buiaction`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -66,8 +63,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -66,8 +63,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
BUIActionBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
BUIActionBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/buiactionbatch`
,
tempData
,
isloading
);
/ibizorders/buiactionbatch`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -80,8 +76,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -80,8 +76,7 @@ export default class IBIZOrderServiceBase extends EntityService {
* @memberof IBIZOrderServiceBase
* @memberof IBIZOrderServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/checkkey`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -104,8 +99,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -104,8 +99,7 @@ export default class IBIZOrderServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders`
,
data
,
isloading
);
/ibizorders`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_ibizorderdetails'
,
JSON
.
stringify
(
res
.
data
.
ibizorderdetails
?
res
.
data
.
ibizorderdetails
:[]));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_ibizorderdetails'
,
JSON
.
stringify
(
res
.
data
.
ibizorderdetails
?
res
.
data
.
ibizorderdetails
:[]));
return
res
;
return
res
;
...
@@ -121,8 +115,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -121,8 +115,7 @@ export default class IBIZOrderServiceBase extends EntityService {
* @memberof IBIZOrderServiceBase
* @memberof IBIZOrderServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
`
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -137,8 +130,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -137,8 +130,7 @@ export default class IBIZOrderServiceBase extends EntityService {
* @memberof IBIZOrderServiceBase
* @memberof IBIZOrderServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizorders/getdraft`
,
isloading
);
/ibizorders/getdraft`
,
isloading
);
res
.
data
.
ibizorder
=
data
.
ibizorder
;
res
.
data
.
ibizorder
=
data
.
ibizorder
;
return
res
;
return
res
;
...
@@ -154,8 +146,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -154,8 +146,7 @@ export default class IBIZOrderServiceBase extends EntityService {
* @memberof IBIZOrderServiceBase
* @memberof IBIZOrderServiceBase
*/
*/
public
async
MulUpdate
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
MulUpdate
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
put
(
`/ibizorders/
${
context
.
ibizorder
}
/mulupdate`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/mulupdate`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -170,8 +161,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -170,8 +161,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
MulUpdateBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
MulUpdateBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/mulupdatebatch`
,
tempData
,
isloading
);
/ibizorders/mulupdatebatch`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -184,8 +174,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -184,8 +174,7 @@ export default class IBIZOrderServiceBase extends EntityService {
* @memberof IBIZOrderServiceBase
* @memberof IBIZOrderServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizorders/
${
context
.
ibizorder
}
`
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -201,8 +190,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -201,8 +190,7 @@ export default class IBIZOrderServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizorders/
${
context
.
ibizorder
}
/save`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -219,8 +207,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -219,8 +207,7 @@ export default class IBIZOrderServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizorders/
${
context
.
ibizorder
}
`
,
data
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -236,8 +223,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -236,8 +223,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchCSDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchCSDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchcsdy`
,
tempData
,
isloading
);
/ibizorders/fetchcsdy`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -252,8 +238,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -252,8 +238,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchCSDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchCSDY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchcsdy`
,
tempData
,
isloading
);
/ibizorders/searchcsdy`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -267,8 +252,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -267,8 +252,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchCurState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchCurState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchcurstate30`
,
tempData
,
isloading
);
/ibizorders/fetchcurstate30`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -283,8 +267,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -283,8 +267,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchCurState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchCurState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchcurstate30`
,
tempData
,
isloading
);
/ibizorders/searchcurstate30`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -298,8 +281,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -298,8 +281,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchDDJETJBB
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDDJETJBB
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchddjetjbb`
,
tempData
,
isloading
);
/ibizorders/fetchddjetjbb`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -314,8 +296,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -314,8 +296,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchDDJETJBB
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDDJETJBB
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchddjetjbb`
,
tempData
,
isloading
);
/ibizorders/searchddjetjbb`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -329,8 +310,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -329,8 +310,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchDDReport
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDDReport
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchddreport`
,
tempData
,
isloading
);
/ibizorders/fetchddreport`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -345,8 +325,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -345,8 +325,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchDDReport
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDDReport
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchddreport`
,
tempData
,
isloading
);
/ibizorders/searchddreport`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -360,8 +339,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -360,8 +339,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchDYDDMXSJY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDYDDMXSJY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchdyddmxsjy`
,
tempData
,
isloading
);
/ibizorders/fetchdyddmxsjy`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -376,8 +354,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -376,8 +354,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchDYDDMXSJY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDYDDMXSJY
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchdyddmxsjy`
,
tempData
,
isloading
);
/ibizorders/searchdyddmxsjy`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -391,8 +368,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -391,8 +368,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchdefault`
,
tempData
,
isloading
);
/ibizorders/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -407,8 +383,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -407,8 +383,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchdefault`
,
tempData
,
isloading
);
/ibizorders/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -422,8 +397,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -422,8 +397,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchEchartsDefaultDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchEchartsDefaultDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchechartsdefaultdatasource`
,
tempData
,
isloading
);
/ibizorders/fetchechartsdefaultdatasource`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -438,8 +412,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -438,8 +412,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchEchartsDefaultDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchEchartsDefaultDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchechartsdefaultdatasource`
,
tempData
,
isloading
);
/ibizorders/searchechartsdefaultdatasource`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -453,8 +426,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -453,8 +426,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchGaugeDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchGaugeDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchgaugedatasource`
,
tempData
,
isloading
);
/ibizorders/fetchgaugedatasource`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -469,8 +441,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -469,8 +441,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchGaugeDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchGaugeDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchgaugedatasource`
,
tempData
,
isloading
);
/ibizorders/searchgaugedatasource`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -484,8 +455,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -484,8 +455,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchGaugeDataSourceByTime
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchGaugeDataSourceByTime
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchgaugedatasourcebytime`
,
tempData
,
isloading
);
/ibizorders/fetchgaugedatasourcebytime`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -500,8 +470,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -500,8 +470,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchGaugeDataSourceByTime
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchGaugeDataSourceByTime
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchgaugedatasourcebytime`
,
tempData
,
isloading
);
/ibizorders/searchgaugedatasourcebytime`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -515,8 +484,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -515,8 +484,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchLOGIC_22
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchLOGIC_22
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchlogic_22`
,
tempData
,
isloading
);
/ibizorders/fetchlogic_22`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -531,8 +499,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -531,8 +499,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchLOGIC_22
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchLOGIC_22
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchlogic_22`
,
tempData
,
isloading
);
/ibizorders/searchlogic_22`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -546,8 +513,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -546,8 +513,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchRadarDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchRadarDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchradardatasource`
,
tempData
,
isloading
);
/ibizorders/fetchradardatasource`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -562,8 +528,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -562,8 +528,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchRadarDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchRadarDataSource
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchradardatasource`
,
tempData
,
isloading
);
/ibizorders/searchradardatasource`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -577,8 +542,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -577,8 +542,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchSHZOrder
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchSHZOrder
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchshzorder`
,
tempData
,
isloading
);
/ibizorders/fetchshzorder`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -593,8 +557,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -593,8 +557,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchSHZOrder
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchSHZOrder
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchshzorder`
,
tempData
,
isloading
);
/ibizorders/searchshzorder`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -608,8 +571,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -608,8 +571,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchState10
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchState10
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchstate10`
,
tempData
,
isloading
);
/ibizorders/fetchstate10`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -624,8 +586,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -624,8 +586,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchState10
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchState10
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchstate10`
,
tempData
,
isloading
);
/ibizorders/searchstate10`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -639,8 +600,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -639,8 +600,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchstate30`
,
tempData
,
isloading
);
/ibizorders/fetchstate30`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -655,8 +615,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -655,8 +615,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchState30
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchstate30`
,
tempData
,
isloading
);
/ibizorders/searchstate30`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -670,8 +629,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -670,8 +629,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchState40
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchState40
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchstate40`
,
tempData
,
isloading
);
/ibizorders/fetchstate40`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -686,8 +644,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -686,8 +644,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchState40
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchState40
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchstate40`
,
tempData
,
isloading
);
/ibizorders/searchstate40`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -701,8 +658,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -701,8 +658,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
FetchXECX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchXECX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/fetchxecx`
,
tempData
,
isloading
);
/ibizorders/fetchxecx`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -717,8 +673,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -717,8 +673,7 @@ export default class IBIZOrderServiceBase extends EntityService {
*/
*/
public
async
searchXECX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchXECX
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizorders/searchxecx`
,
tempData
,
isloading
);
/ibizorders/searchxecx`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -731,8 +686,7 @@ export default class IBIZOrderServiceBase extends EntityService {
...
@@ -731,8 +686,7 @@ export default class IBIZOrderServiceBase extends EntityService {
* @memberof IBIZOrderServiceBase
* @memberof IBIZOrderServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizorders/
${
context
.
ibizorder
}
/select`
,
isloading
);
/ibizorders/
${
context
.
ibizorder
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample/ibizsample-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 示例数据库服务对象基类
* 示例数据库服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSampleServiceBase extends EntityService {
* @memberof IBIZSampleServiceBase
* @memberof IBIZSampleServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsamples/
${
context
.
ibizsample
}
/checkkey`
,
data
,
isloading
);
/ibizsamples/
${
context
.
ibizsample
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSampleServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsamples`
,
data
,
isloading
);
/ibizsamples`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSampleServiceBase extends EntityService {
* @memberof IBIZSampleServiceBase
* @memberof IBIZSampleServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsamples/
${
context
.
ibizsample
}
`
,
isloading
);
/ibizsamples/
${
context
.
ibizsample
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSampleServiceBase extends EntityService {
* @memberof IBIZSampleServiceBase
* @memberof IBIZSampleServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsamples/getdraft`
,
isloading
);
/ibizsamples/getdraft`
,
isloading
);
res
.
data
.
ibizsample
=
data
.
ibizsample
;
res
.
data
.
ibizsample
=
data
.
ibizsample
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSampleServiceBase extends EntityService {
* @memberof IBIZSampleServiceBase
* @memberof IBIZSampleServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsamples/
${
context
.
ibizsample
}
`
,
isloading
);
/ibizsamples/
${
context
.
ibizsample
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSampleServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsamples/
${
context
.
ibizsample
}
/save`
,
data
,
isloading
);
/ibizsamples/
${
context
.
ibizsample
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSampleServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsamples/
${
context
.
ibizsample
}
`
,
data
,
isloading
);
/ibizsamples/
${
context
.
ibizsample
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSampleServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsamples/fetchdefault`
,
tempData
,
isloading
);
/ibizsamples/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSampleServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsamples/searchdefault`
,
tempData
,
isloading
);
/ibizsamples/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -206,8 +195,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -206,8 +195,7 @@ export default class IBIZSampleServiceBase extends EntityService {
*/
*/
public
async
FetchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsamples/fetchformtype`
,
tempData
,
isloading
);
/ibizsamples/fetchformtype`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -222,8 +210,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -222,8 +210,7 @@ export default class IBIZSampleServiceBase extends EntityService {
*/
*/
public
async
searchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsamples/searchformtype`
,
tempData
,
isloading
);
/ibizsamples/searchformtype`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -236,8 +223,7 @@ export default class IBIZSampleServiceBase extends EntityService {
...
@@ -236,8 +223,7 @@ export default class IBIZSampleServiceBase extends EntityService {
* @memberof IBIZSampleServiceBase
* @memberof IBIZSampleServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsamples/
${
context
.
ibizsample
}
/select`
,
isloading
);
/ibizsamples/
${
context
.
ibizsample
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0001/ibizsample0001-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 示例实体01服务对象基类
* 示例实体01服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -53,13 +51,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -53,13 +51,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
/checkkey`
,
data
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0001s/
${
context
.
ibizsample0001
}
/checkkey`
,
data
,
isloading
);
/ibizsample0001s/
${
context
.
ibizsample0001
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -83,8 +79,7 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -83,8 +79,7 @@ export default class IBIZSample0001ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s`
,
data
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -97,8 +92,7 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -97,8 +92,7 @@ export default class IBIZSample0001ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0001s`
,
data
,
isloading
);
/ibizsample0001s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -114,13 +108,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -114,13 +108,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -136,14 +128,12 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -136,14 +128,12 @@ export default class IBIZSample0001ServiceBase extends EntityService {
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizsample0002
&&
true
){
if
(
context
.
ibizsample0002
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/getdraft`
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0001
=
data
.
ibizsample0001
;
res
.
data
.
ibizsample0001
=
data
.
ibizsample0001
;
return
res
;
return
res
;
}
}
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0001s/getdraft`
,
isloading
);
/ibizsample0001s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0001
=
data
.
ibizsample0001
;
res
.
data
.
ibizsample0001
=
data
.
ibizsample0001
;
return
res
;
return
res
;
...
@@ -160,12 +150,10 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -160,12 +150,10 @@ export default class IBIZSample0001ServiceBase extends EntityService {
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -182,15 +170,13 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -182,15 +170,13 @@ export default class IBIZSample0001ServiceBase extends EntityService {
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
/save`
,
data
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0001s/
${
context
.
ibizsample0001
}
/save`
,
data
,
isloading
);
/ibizsample0001s/
${
context
.
ibizsample0001
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -208,15 +194,13 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -208,15 +194,13 @@ export default class IBIZSample0001ServiceBase extends EntityService {
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
data
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
data
,
isloading
);
/ibizsample0001s/
${
context
.
ibizsample0001
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -233,13 +217,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -233,13 +217,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizsample0002
&&
true
){
if
(
context
.
ibizsample0002
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0001s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0001s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -255,12 +237,10 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -255,12 +237,10 @@ export default class IBIZSample0001ServiceBase extends EntityService {
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizsample0002
&&
true
){
if
(
context
.
ibizsample0002
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/searchdefault`
,
tempData
,
isloading
);
}
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0001s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0001s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -274,13 +254,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
...
@@ -274,13 +254,11 @@ export default class IBIZSample0001ServiceBase extends EntityService {
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
if
(
context
.
ibizsample0002
&&
context
.
ibizsample0001
){
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
/select`
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/ibizsample0001s/
${
context
.
ibizsample0001
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0001s/
${
context
.
ibizsample0001
}
/select`
,
isloading
);
/ibizsample0001s/
${
context
.
ibizsample0001
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0002/ibizsample0002-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 示例实体02服务对象基类
* 示例实体02服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
* @memberof IBIZSample0002ServiceBase
* @memberof IBIZSample0002ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/checkkey`
,
data
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0002s`
,
data
,
isloading
);
/ibizsample0002s`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_ibizsample0001s'
,
JSON
.
stringify
(
res
.
data
.
ibizsample0001s
?
res
.
data
.
ibizsample0001s
:[]));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_ibizsample0001s'
,
JSON
.
stringify
(
res
.
data
.
ibizsample0001s
?
res
.
data
.
ibizsample0001s
:[]));
return
res
;
return
res
;
...
@@ -91,8 +87,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -91,8 +87,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
* @memberof IBIZSample0002ServiceBase
* @memberof IBIZSample0002ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
`
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -107,8 +102,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -107,8 +102,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
* @memberof IBIZSample0002ServiceBase
* @memberof IBIZSample0002ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0002s/getdraft`
,
isloading
);
/ibizsample0002s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0002
=
data
.
ibizsample0002
;
res
.
data
.
ibizsample0002
=
data
.
ibizsample0002
;
return
res
;
return
res
;
...
@@ -124,8 +118,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -124,8 +118,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
* @memberof IBIZSample0002ServiceBase
* @memberof IBIZSample0002ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
`
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -141,8 +134,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -141,8 +134,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/save`
,
data
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -159,8 +151,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -159,8 +151,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
`
,
data
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -176,8 +167,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -176,8 +167,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0002s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0002s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -192,8 +182,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -192,8 +182,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0002s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0002s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -206,8 +195,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
...
@@ -206,8 +195,7 @@ export default class IBIZSample0002ServiceBase extends EntityService {
* @memberof IBIZSample0002ServiceBase
* @memberof IBIZSample0002ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0002s/
${
context
.
ibizsample0002
}
/select`
,
isloading
);
/ibizsample0002s/
${
context
.
ibizsample0002
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0003/ibizsample0003-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 示例实体03服务对象基类
* 示例实体03服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
* @memberof IBIZSample0003ServiceBase
* @memberof IBIZSample0003ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0003s/
${
context
.
ibizsample0003
}
/checkkey`
,
data
,
isloading
);
/ibizsample0003s/
${
context
.
ibizsample0003
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0003s`
,
data
,
isloading
);
/ibizsample0003s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
* @memberof IBIZSample0003ServiceBase
* @memberof IBIZSample0003ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0003s/
${
context
.
ibizsample0003
}
`
,
isloading
);
/ibizsample0003s/
${
context
.
ibizsample0003
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
* @memberof IBIZSample0003ServiceBase
* @memberof IBIZSample0003ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0003s/getdraft`
,
isloading
);
/ibizsample0003s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0003
=
data
.
ibizsample0003
;
res
.
data
.
ibizsample0003
=
data
.
ibizsample0003
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
* @memberof IBIZSample0003ServiceBase
* @memberof IBIZSample0003ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0003s/
${
context
.
ibizsample0003
}
`
,
isloading
);
/ibizsample0003s/
${
context
.
ibizsample0003
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0003s/
${
context
.
ibizsample0003
}
/save`
,
data
,
isloading
);
/ibizsample0003s/
${
context
.
ibizsample0003
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0003s/
${
context
.
ibizsample0003
}
`
,
data
,
isloading
);
/ibizsample0003s/
${
context
.
ibizsample0003
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
*/
*/
public
async
FetchCurData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchCurData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0003s/fetchcurdata`
,
tempData
,
isloading
);
/ibizsample0003s/fetchcurdata`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
*/
*/
public
async
searchCurData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchCurData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0003s/searchcurdata`
,
tempData
,
isloading
);
/ibizsample0003s/searchcurdata`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -206,8 +195,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -206,8 +195,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0003s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0003s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -222,8 +210,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -222,8 +210,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0003s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0003s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -237,8 +224,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -237,8 +224,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
*/
*/
public
async
FetchTopData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchTopData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0003s/fetchtopdata`
,
tempData
,
isloading
);
/ibizsample0003s/fetchtopdata`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -253,8 +239,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -253,8 +239,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
*/
*/
public
async
searchTopData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchTopData
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0003s/searchtopdata`
,
tempData
,
isloading
);
/ibizsample0003s/searchtopdata`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -267,8 +252,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
...
@@ -267,8 +252,7 @@ export default class IBIZSample0003ServiceBase extends EntityService {
* @memberof IBIZSample0003ServiceBase
* @memberof IBIZSample0003ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0003s/
${
context
.
ibizsample0003
}
/select`
,
isloading
);
/ibizsample0003s/
${
context
.
ibizsample0003
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0004/ibizsample0004-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 多版本流程服务对象基类
* 多版本流程服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
* @memberof IBIZSample0004ServiceBase
* @memberof IBIZSample0004ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0004s/
${
context
.
ibizsample0004
}
/checkkey`
,
data
,
isloading
);
/ibizsample0004s/
${
context
.
ibizsample0004
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0004s`
,
data
,
isloading
);
/ibizsample0004s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
* @memberof IBIZSample0004ServiceBase
* @memberof IBIZSample0004ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0004s/
${
context
.
ibizsample0004
}
`
,
isloading
);
/ibizsample0004s/
${
context
.
ibizsample0004
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
* @memberof IBIZSample0004ServiceBase
* @memberof IBIZSample0004ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0004s/getdraft`
,
isloading
);
/ibizsample0004s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0004
=
data
.
ibizsample0004
;
res
.
data
.
ibizsample0004
=
data
.
ibizsample0004
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
* @memberof IBIZSample0004ServiceBase
* @memberof IBIZSample0004ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0004s/
${
context
.
ibizsample0004
}
`
,
isloading
);
/ibizsample0004s/
${
context
.
ibizsample0004
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0004s/
${
context
.
ibizsample0004
}
/save`
,
data
,
isloading
);
/ibizsample0004s/
${
context
.
ibizsample0004
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0004s/
${
context
.
ibizsample0004
}
`
,
data
,
isloading
);
/ibizsample0004s/
${
context
.
ibizsample0004
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0004s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0004s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0004s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0004s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0004ServiceBase extends EntityService {
* @memberof IBIZSample0004ServiceBase
* @memberof IBIZSample0004ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0004s/
${
context
.
ibizsample0004
}
/select`
,
isloading
);
/ibizsample0004s/
${
context
.
ibizsample0004
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0005/ibizsample0005-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 多模式流程服务对象基类
* 多模式流程服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
* @memberof IBIZSample0005ServiceBase
* @memberof IBIZSample0005ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0005s/
${
context
.
ibizsample0005
}
/checkkey`
,
data
,
isloading
);
/ibizsample0005s/
${
context
.
ibizsample0005
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0005s`
,
data
,
isloading
);
/ibizsample0005s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
* @memberof IBIZSample0005ServiceBase
* @memberof IBIZSample0005ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0005s/
${
context
.
ibizsample0005
}
`
,
isloading
);
/ibizsample0005s/
${
context
.
ibizsample0005
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
* @memberof IBIZSample0005ServiceBase
* @memberof IBIZSample0005ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0005s/getdraft`
,
isloading
);
/ibizsample0005s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0005
=
data
.
ibizsample0005
;
res
.
data
.
ibizsample0005
=
data
.
ibizsample0005
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
* @memberof IBIZSample0005ServiceBase
* @memberof IBIZSample0005ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0005s/
${
context
.
ibizsample0005
}
`
,
isloading
);
/ibizsample0005s/
${
context
.
ibizsample0005
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0005s/
${
context
.
ibizsample0005
}
/save`
,
data
,
isloading
);
/ibizsample0005s/
${
context
.
ibizsample0005
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0005s/
${
context
.
ibizsample0005
}
`
,
data
,
isloading
);
/ibizsample0005s/
${
context
.
ibizsample0005
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0005s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0005s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0005s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0005s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0005ServiceBase extends EntityService {
* @memberof IBIZSample0005ServiceBase
* @memberof IBIZSample0005ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0005s/
${
context
.
ibizsample0005
}
/select`
,
isloading
);
/ibizsample0005s/
${
context
.
ibizsample0005
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0006/ibizsample0006-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 嵌套流程(主)服务对象基类
* 嵌套流程(主)服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
* @memberof IBIZSample0006ServiceBase
* @memberof IBIZSample0006ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0006s/
${
context
.
ibizsample0006
}
/checkkey`
,
data
,
isloading
);
/ibizsample0006s/
${
context
.
ibizsample0006
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0006s`
,
data
,
isloading
);
/ibizsample0006s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
* @memberof IBIZSample0006ServiceBase
* @memberof IBIZSample0006ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0006s/
${
context
.
ibizsample0006
}
`
,
isloading
);
/ibizsample0006s/
${
context
.
ibizsample0006
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
* @memberof IBIZSample0006ServiceBase
* @memberof IBIZSample0006ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0006s/getdraft`
,
isloading
);
/ibizsample0006s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0006
=
data
.
ibizsample0006
;
res
.
data
.
ibizsample0006
=
data
.
ibizsample0006
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
* @memberof IBIZSample0006ServiceBase
* @memberof IBIZSample0006ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0006s/
${
context
.
ibizsample0006
}
`
,
isloading
);
/ibizsample0006s/
${
context
.
ibizsample0006
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0006s/
${
context
.
ibizsample0006
}
/save`
,
data
,
isloading
);
/ibizsample0006s/
${
context
.
ibizsample0006
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0006s/
${
context
.
ibizsample0006
}
`
,
data
,
isloading
);
/ibizsample0006s/
${
context
.
ibizsample0006
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0006s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0006s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0006s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0006s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0006ServiceBase extends EntityService {
* @memberof IBIZSample0006ServiceBase
* @memberof IBIZSample0006ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0006s/
${
context
.
ibizsample0006
}
/select`
,
isloading
);
/ibizsample0006s/
${
context
.
ibizsample0006
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0007/ibizsample0007-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 嵌套流程(子)服务对象基类
* 嵌套流程(子)服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
* @memberof IBIZSample0007ServiceBase
* @memberof IBIZSample0007ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0007s/
${
context
.
ibizsample0007
}
/checkkey`
,
data
,
isloading
);
/ibizsample0007s/
${
context
.
ibizsample0007
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0007s`
,
data
,
isloading
);
/ibizsample0007s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
* @memberof IBIZSample0007ServiceBase
* @memberof IBIZSample0007ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0007s/
${
context
.
ibizsample0007
}
`
,
isloading
);
/ibizsample0007s/
${
context
.
ibizsample0007
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
* @memberof IBIZSample0007ServiceBase
* @memberof IBIZSample0007ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0007s/getdraft`
,
isloading
);
/ibizsample0007s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0007
=
data
.
ibizsample0007
;
res
.
data
.
ibizsample0007
=
data
.
ibizsample0007
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
* @memberof IBIZSample0007ServiceBase
* @memberof IBIZSample0007ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0007s/
${
context
.
ibizsample0007
}
`
,
isloading
);
/ibizsample0007s/
${
context
.
ibizsample0007
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0007s/
${
context
.
ibizsample0007
}
/save`
,
data
,
isloading
);
/ibizsample0007s/
${
context
.
ibizsample0007
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0007s/
${
context
.
ibizsample0007
}
`
,
data
,
isloading
);
/ibizsample0007s/
${
context
.
ibizsample0007
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
*/
*/
public
async
FetchCurGW
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchCurGW
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0007s/fetchcurgw`
,
tempData
,
isloading
);
/ibizsample0007s/fetchcurgw`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
*/
*/
public
async
searchCurGW
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchCurGW
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0007s/searchcurgw`
,
tempData
,
isloading
);
/ibizsample0007s/searchcurgw`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -206,8 +195,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -206,8 +195,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0007s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0007s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -222,8 +210,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -222,8 +210,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0007s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0007s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -236,8 +223,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
...
@@ -236,8 +223,7 @@ export default class IBIZSample0007ServiceBase extends EntityService {
* @memberof IBIZSample0007ServiceBase
* @memberof IBIZSample0007ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0007s/
${
context
.
ibizsample0007
}
/select`
,
isloading
);
/ibizsample0007s/
${
context
.
ibizsample0007
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0008/ibizsample0008-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 自循环流程服务对象基类
* 自循环流程服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
* @memberof IBIZSample0008ServiceBase
* @memberof IBIZSample0008ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0008s/
${
context
.
ibizsample0008
}
/checkkey`
,
data
,
isloading
);
/ibizsample0008s/
${
context
.
ibizsample0008
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0008s`
,
data
,
isloading
);
/ibizsample0008s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
* @memberof IBIZSample0008ServiceBase
* @memberof IBIZSample0008ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0008s/
${
context
.
ibizsample0008
}
`
,
isloading
);
/ibizsample0008s/
${
context
.
ibizsample0008
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
* @memberof IBIZSample0008ServiceBase
* @memberof IBIZSample0008ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0008s/getdraft`
,
isloading
);
/ibizsample0008s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0008
=
data
.
ibizsample0008
;
res
.
data
.
ibizsample0008
=
data
.
ibizsample0008
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
* @memberof IBIZSample0008ServiceBase
* @memberof IBIZSample0008ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0008s/
${
context
.
ibizsample0008
}
`
,
isloading
);
/ibizsample0008s/
${
context
.
ibizsample0008
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0008s/
${
context
.
ibizsample0008
}
/save`
,
data
,
isloading
);
/ibizsample0008s/
${
context
.
ibizsample0008
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0008s/
${
context
.
ibizsample0008
}
`
,
data
,
isloading
);
/ibizsample0008s/
${
context
.
ibizsample0008
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0008s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0008s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0008s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0008s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0008ServiceBase extends EntityService {
* @memberof IBIZSample0008ServiceBase
* @memberof IBIZSample0008ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0008s/
${
context
.
ibizsample0008
}
/select`
,
isloading
);
/ibizsample0008s/
${
context
.
ibizsample0008
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0009/ibizsample0009-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 商品价格明细服务对象基类
* 商品价格明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
* @memberof IBIZSample0009ServiceBase
* @memberof IBIZSample0009ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0009s/
${
context
.
ibizsample0009
}
/checkkey`
,
data
,
isloading
);
/ibizsample0009s/
${
context
.
ibizsample0009
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0009s`
,
data
,
isloading
);
/ibizsample0009s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
* @memberof IBIZSample0009ServiceBase
* @memberof IBIZSample0009ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0009s/
${
context
.
ibizsample0009
}
`
,
isloading
);
/ibizsample0009s/
${
context
.
ibizsample0009
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
* @memberof IBIZSample0009ServiceBase
* @memberof IBIZSample0009ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0009s/getdraft`
,
isloading
);
/ibizsample0009s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0009
=
data
.
ibizsample0009
;
res
.
data
.
ibizsample0009
=
data
.
ibizsample0009
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
* @memberof IBIZSample0009ServiceBase
* @memberof IBIZSample0009ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0009s/
${
context
.
ibizsample0009
}
`
,
isloading
);
/ibizsample0009s/
${
context
.
ibizsample0009
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0009s/
${
context
.
ibizsample0009
}
/save`
,
data
,
isloading
);
/ibizsample0009s/
${
context
.
ibizsample0009
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0009s/
${
context
.
ibizsample0009
}
`
,
data
,
isloading
);
/ibizsample0009s/
${
context
.
ibizsample0009
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0009s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0009s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0009s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0009s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0009ServiceBase extends EntityService {
* @memberof IBIZSample0009ServiceBase
* @memberof IBIZSample0009ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0009s/
${
context
.
ibizsample0009
}
/select`
,
isloading
);
/ibizsample0009s/
${
context
.
ibizsample0009
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0010/ibizsample0010-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单服务对象基类
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
* @memberof IBIZSample0010ServiceBase
* @memberof IBIZSample0010ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0010s/
${
context
.
ibizsample0010
}
/checkkey`
,
data
,
isloading
);
/ibizsample0010s/
${
context
.
ibizsample0010
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0010s`
,
data
,
isloading
);
/ibizsample0010s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
* @memberof IBIZSample0010ServiceBase
* @memberof IBIZSample0010ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0010s/
${
context
.
ibizsample0010
}
`
,
isloading
);
/ibizsample0010s/
${
context
.
ibizsample0010
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
* @memberof IBIZSample0010ServiceBase
* @memberof IBIZSample0010ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0010s/getdraft`
,
isloading
);
/ibizsample0010s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0010
=
data
.
ibizsample0010
;
res
.
data
.
ibizsample0010
=
data
.
ibizsample0010
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
* @memberof IBIZSample0010ServiceBase
* @memberof IBIZSample0010ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0010s/
${
context
.
ibizsample0010
}
`
,
isloading
);
/ibizsample0010s/
${
context
.
ibizsample0010
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0010s/
${
context
.
ibizsample0010
}
/save`
,
data
,
isloading
);
/ibizsample0010s/
${
context
.
ibizsample0010
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0010s/
${
context
.
ibizsample0010
}
`
,
data
,
isloading
);
/ibizsample0010s/
${
context
.
ibizsample0010
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0010s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0010s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0010s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0010s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0010ServiceBase extends EntityService {
* @memberof IBIZSample0010ServiceBase
* @memberof IBIZSample0010ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0010s/
${
context
.
ibizsample0010
}
/select`
,
isloading
);
/ibizsample0010s/
${
context
.
ibizsample0010
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0011/ibizsample0011-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单明细服务对象基类
* 订单明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
* @memberof IBIZSample0011ServiceBase
* @memberof IBIZSample0011ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0011s/
${
context
.
ibizsample0011
}
/checkkey`
,
data
,
isloading
);
/ibizsample0011s/
${
context
.
ibizsample0011
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0011s`
,
data
,
isloading
);
/ibizsample0011s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
* @memberof IBIZSample0011ServiceBase
* @memberof IBIZSample0011ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0011s/
${
context
.
ibizsample0011
}
`
,
isloading
);
/ibizsample0011s/
${
context
.
ibizsample0011
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
* @memberof IBIZSample0011ServiceBase
* @memberof IBIZSample0011ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0011s/getdraft`
,
isloading
);
/ibizsample0011s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0011
=
data
.
ibizsample0011
;
res
.
data
.
ibizsample0011
=
data
.
ibizsample0011
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
* @memberof IBIZSample0011ServiceBase
* @memberof IBIZSample0011ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0011s/
${
context
.
ibizsample0011
}
`
,
isloading
);
/ibizsample0011s/
${
context
.
ibizsample0011
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0011s/
${
context
.
ibizsample0011
}
/save`
,
data
,
isloading
);
/ibizsample0011s/
${
context
.
ibizsample0011
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0011s/
${
context
.
ibizsample0011
}
`
,
data
,
isloading
);
/ibizsample0011s/
${
context
.
ibizsample0011
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0011s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0011s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0011s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0011s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0011ServiceBase extends EntityService {
* @memberof IBIZSample0011ServiceBase
* @memberof IBIZSample0011ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0011s/
${
context
.
ibizsample0011
}
/select`
,
isloading
);
/ibizsample0011s/
${
context
.
ibizsample0011
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0012/ibizsample0012-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单服务对象基类
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
* @memberof IBIZSample0012ServiceBase
* @memberof IBIZSample0012ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0012s/
${
context
.
ibizsample0012
}
/checkkey`
,
data
,
isloading
);
/ibizsample0012s/
${
context
.
ibizsample0012
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0012s`
,
data
,
isloading
);
/ibizsample0012s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
* @memberof IBIZSample0012ServiceBase
* @memberof IBIZSample0012ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0012s/
${
context
.
ibizsample0012
}
`
,
isloading
);
/ibizsample0012s/
${
context
.
ibizsample0012
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
* @memberof IBIZSample0012ServiceBase
* @memberof IBIZSample0012ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0012s/getdraft`
,
isloading
);
/ibizsample0012s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0012
=
data
.
ibizsample0012
;
res
.
data
.
ibizsample0012
=
data
.
ibizsample0012
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
* @memberof IBIZSample0012ServiceBase
* @memberof IBIZSample0012ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0012s/
${
context
.
ibizsample0012
}
`
,
isloading
);
/ibizsample0012s/
${
context
.
ibizsample0012
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0012s/
${
context
.
ibizsample0012
}
/save`
,
data
,
isloading
);
/ibizsample0012s/
${
context
.
ibizsample0012
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0012s/
${
context
.
ibizsample0012
}
`
,
data
,
isloading
);
/ibizsample0012s/
${
context
.
ibizsample0012
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0012s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0012s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0012s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0012s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0012ServiceBase extends EntityService {
* @memberof IBIZSample0012ServiceBase
* @memberof IBIZSample0012ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0012s/
${
context
.
ibizsample0012
}
/select`
,
isloading
);
/ibizsample0012s/
${
context
.
ibizsample0012
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0013/ibizsample0013-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单明细服务对象基类
* 订单明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
* @memberof IBIZSample0013ServiceBase
* @memberof IBIZSample0013ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0013s/
${
context
.
ibizsample0013
}
/checkkey`
,
data
,
isloading
);
/ibizsample0013s/
${
context
.
ibizsample0013
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0013s`
,
data
,
isloading
);
/ibizsample0013s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
* @memberof IBIZSample0013ServiceBase
* @memberof IBIZSample0013ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0013s/
${
context
.
ibizsample0013
}
`
,
isloading
);
/ibizsample0013s/
${
context
.
ibizsample0013
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
* @memberof IBIZSample0013ServiceBase
* @memberof IBIZSample0013ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0013s/getdraft`
,
isloading
);
/ibizsample0013s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0013
=
data
.
ibizsample0013
;
res
.
data
.
ibizsample0013
=
data
.
ibizsample0013
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
* @memberof IBIZSample0013ServiceBase
* @memberof IBIZSample0013ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0013s/
${
context
.
ibizsample0013
}
`
,
isloading
);
/ibizsample0013s/
${
context
.
ibizsample0013
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0013s/
${
context
.
ibizsample0013
}
/save`
,
data
,
isloading
);
/ibizsample0013s/
${
context
.
ibizsample0013
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0013s/
${
context
.
ibizsample0013
}
`
,
data
,
isloading
);
/ibizsample0013s/
${
context
.
ibizsample0013
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0013s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0013s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0013s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0013s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0013ServiceBase extends EntityService {
* @memberof IBIZSample0013ServiceBase
* @memberof IBIZSample0013ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0013s/
${
context
.
ibizsample0013
}
/select`
,
isloading
);
/ibizsample0013s/
${
context
.
ibizsample0013
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0014/ibizsample0014-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 员工服务对象基类
* 员工服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
* @memberof IBIZSample0014ServiceBase
* @memberof IBIZSample0014ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0014s/
${
context
.
ibizsample0014
}
/checkkey`
,
data
,
isloading
);
/ibizsample0014s/
${
context
.
ibizsample0014
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0014s`
,
data
,
isloading
);
/ibizsample0014s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
* @memberof IBIZSample0014ServiceBase
* @memberof IBIZSample0014ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0014s/
${
context
.
ibizsample0014
}
`
,
isloading
);
/ibizsample0014s/
${
context
.
ibizsample0014
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
* @memberof IBIZSample0014ServiceBase
* @memberof IBIZSample0014ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0014s/getdraft`
,
isloading
);
/ibizsample0014s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0014
=
data
.
ibizsample0014
;
res
.
data
.
ibizsample0014
=
data
.
ibizsample0014
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
* @memberof IBIZSample0014ServiceBase
* @memberof IBIZSample0014ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0014s/
${
context
.
ibizsample0014
}
`
,
isloading
);
/ibizsample0014s/
${
context
.
ibizsample0014
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0014s/
${
context
.
ibizsample0014
}
/save`
,
data
,
isloading
);
/ibizsample0014s/
${
context
.
ibizsample0014
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0014s/
${
context
.
ibizsample0014
}
`
,
data
,
isloading
);
/ibizsample0014s/
${
context
.
ibizsample0014
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
*/
*/
public
async
FetchCurIBIZSample0014
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchCurIBIZSample0014
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0014s/fetchcuribizsample0014`
,
tempData
,
isloading
);
/ibizsample0014s/fetchcuribizsample0014`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
*/
*/
public
async
searchCurIBIZSample0014
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchCurIBIZSample0014
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0014s/searchcuribizsample0014`
,
tempData
,
isloading
);
/ibizsample0014s/searchcuribizsample0014`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -206,8 +195,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -206,8 +195,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0014s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0014s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -222,8 +210,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -222,8 +210,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0014s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0014s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -236,8 +223,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
...
@@ -236,8 +223,7 @@ export default class IBIZSample0014ServiceBase extends EntityService {
* @memberof IBIZSample0014ServiceBase
* @memberof IBIZSample0014ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0014s/
${
context
.
ibizsample0014
}
/select`
,
isloading
);
/ibizsample0014s/
${
context
.
ibizsample0014
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0015/ibizsample0015-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 项目服务对象基类
* 项目服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
* @memberof IBIZSample0015ServiceBase
* @memberof IBIZSample0015ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0015s/
${
context
.
ibizsample0015
}
/checkkey`
,
data
,
isloading
);
/ibizsample0015s/
${
context
.
ibizsample0015
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0015s`
,
data
,
isloading
);
/ibizsample0015s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
* @memberof IBIZSample0015ServiceBase
* @memberof IBIZSample0015ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0015s/
${
context
.
ibizsample0015
}
`
,
isloading
);
/ibizsample0015s/
${
context
.
ibizsample0015
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
* @memberof IBIZSample0015ServiceBase
* @memberof IBIZSample0015ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0015s/getdraft`
,
isloading
);
/ibizsample0015s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0015
=
data
.
ibizsample0015
;
res
.
data
.
ibizsample0015
=
data
.
ibizsample0015
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
* @memberof IBIZSample0015ServiceBase
* @memberof IBIZSample0015ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0015s/
${
context
.
ibizsample0015
}
`
,
isloading
);
/ibizsample0015s/
${
context
.
ibizsample0015
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0015s/
${
context
.
ibizsample0015
}
/save`
,
data
,
isloading
);
/ibizsample0015s/
${
context
.
ibizsample0015
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0015s/
${
context
.
ibizsample0015
}
`
,
data
,
isloading
);
/ibizsample0015s/
${
context
.
ibizsample0015
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0015s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0015s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0015s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0015s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0015ServiceBase extends EntityService {
* @memberof IBIZSample0015ServiceBase
* @memberof IBIZSample0015ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0015s/
${
context
.
ibizsample0015
}
/select`
,
isloading
);
/ibizsample0015s/
${
context
.
ibizsample0015
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0016/ibizsample0016-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 项目成员服务对象基类
* 项目成员服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
* @memberof IBIZSample0016ServiceBase
* @memberof IBIZSample0016ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0016s/
${
context
.
ibizsample0016
}
/checkkey`
,
data
,
isloading
);
/ibizsample0016s/
${
context
.
ibizsample0016
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0016s`
,
data
,
isloading
);
/ibizsample0016s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
* @memberof IBIZSample0016ServiceBase
* @memberof IBIZSample0016ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0016s/
${
context
.
ibizsample0016
}
`
,
isloading
);
/ibizsample0016s/
${
context
.
ibizsample0016
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
* @memberof IBIZSample0016ServiceBase
* @memberof IBIZSample0016ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0016s/getdraft`
,
isloading
);
/ibizsample0016s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0016
=
data
.
ibizsample0016
;
res
.
data
.
ibizsample0016
=
data
.
ibizsample0016
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
* @memberof IBIZSample0016ServiceBase
* @memberof IBIZSample0016ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0016s/
${
context
.
ibizsample0016
}
`
,
isloading
);
/ibizsample0016s/
${
context
.
ibizsample0016
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0016s/
${
context
.
ibizsample0016
}
/save`
,
data
,
isloading
);
/ibizsample0016s/
${
context
.
ibizsample0016
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0016s/
${
context
.
ibizsample0016
}
`
,
data
,
isloading
);
/ibizsample0016s/
${
context
.
ibizsample0016
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0016s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0016s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0016s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0016s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0016ServiceBase extends EntityService {
* @memberof IBIZSample0016ServiceBase
* @memberof IBIZSample0016ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0016s/
${
context
.
ibizsample0016
}
/select`
,
isloading
);
/ibizsample0016s/
${
context
.
ibizsample0016
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0017/ibizsample0017-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单服务对象基类
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
* @memberof IBIZSample0017ServiceBase
* @memberof IBIZSample0017ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0017s/
${
context
.
ibizsample0017
}
/checkkey`
,
data
,
isloading
);
/ibizsample0017s/
${
context
.
ibizsample0017
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0017s`
,
data
,
isloading
);
/ibizsample0017s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
* @memberof IBIZSample0017ServiceBase
* @memberof IBIZSample0017ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0017s/
${
context
.
ibizsample0017
}
`
,
isloading
);
/ibizsample0017s/
${
context
.
ibizsample0017
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
* @memberof IBIZSample0017ServiceBase
* @memberof IBIZSample0017ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0017s/getdraft`
,
isloading
);
/ibizsample0017s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0017
=
data
.
ibizsample0017
;
res
.
data
.
ibizsample0017
=
data
.
ibizsample0017
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
* @memberof IBIZSample0017ServiceBase
* @memberof IBIZSample0017ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0017s/
${
context
.
ibizsample0017
}
`
,
isloading
);
/ibizsample0017s/
${
context
.
ibizsample0017
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0017s/
${
context
.
ibizsample0017
}
/save`
,
data
,
isloading
);
/ibizsample0017s/
${
context
.
ibizsample0017
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0017s/
${
context
.
ibizsample0017
}
`
,
data
,
isloading
);
/ibizsample0017s/
${
context
.
ibizsample0017
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0017s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0017s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0017s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0017s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -206,8 +195,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -206,8 +195,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
*/
*/
public
async
FetchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0017s/fetchformtype`
,
tempData
,
isloading
);
/ibizsample0017s/fetchformtype`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -222,8 +210,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -222,8 +210,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
*/
*/
public
async
searchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchFormType
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0017s/searchformtype`
,
tempData
,
isloading
);
/ibizsample0017s/searchformtype`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -236,8 +223,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
...
@@ -236,8 +223,7 @@ export default class IBIZSample0017ServiceBase extends EntityService {
* @memberof IBIZSample0017ServiceBase
* @memberof IBIZSample0017ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0017s/
${
context
.
ibizsample0017
}
/select`
,
isloading
);
/ibizsample0017s/
${
context
.
ibizsample0017
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0018/ibizsample0018-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 示例实体18服务对象基类
* 示例实体18服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
* @memberof IBIZSample0018ServiceBase
* @memberof IBIZSample0018ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0018s/
${
context
.
ibizsample0018
}
/checkkey`
,
data
,
isloading
);
/ibizsample0018s/
${
context
.
ibizsample0018
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0018s`
,
data
,
isloading
);
/ibizsample0018s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
* @memberof IBIZSample0018ServiceBase
* @memberof IBIZSample0018ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0018s/
${
context
.
ibizsample0018
}
`
,
isloading
);
/ibizsample0018s/
${
context
.
ibizsample0018
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
* @memberof IBIZSample0018ServiceBase
* @memberof IBIZSample0018ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0018s/getdraft`
,
isloading
);
/ibizsample0018s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0018
=
data
.
ibizsample0018
;
res
.
data
.
ibizsample0018
=
data
.
ibizsample0018
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
* @memberof IBIZSample0018ServiceBase
* @memberof IBIZSample0018ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0018s/
${
context
.
ibizsample0018
}
`
,
isloading
);
/ibizsample0018s/
${
context
.
ibizsample0018
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0018s/
${
context
.
ibizsample0018
}
/save`
,
data
,
isloading
);
/ibizsample0018s/
${
context
.
ibizsample0018
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0018s/
${
context
.
ibizsample0018
}
`
,
data
,
isloading
);
/ibizsample0018s/
${
context
.
ibizsample0018
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0018s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0018s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0018s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0018s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0018ServiceBase extends EntityService {
* @memberof IBIZSample0018ServiceBase
* @memberof IBIZSample0018ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0018s/
${
context
.
ibizsample0018
}
/select`
,
isloading
);
/ibizsample0018s/
${
context
.
ibizsample0018
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0019/ibizsample0019-service-base.ts
浏览文件 @
5c658844
...
@@ -4,8 +4,6 @@ import UpdateYGNameLogic from '@/service/ibizsample0019/update-ygname-logic';
...
@@ -4,8 +4,6 @@ import UpdateYGNameLogic from '@/service/ibizsample0019/update-ygname-logic';
/**
/**
* 部门服务对象基类
* 部门服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -51,8 +49,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -51,8 +49,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
* @memberof IBIZSample0019ServiceBase
* @memberof IBIZSample0019ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0019s/
${
context
.
ibizsample0019
}
/checkkey`
,
data
,
isloading
);
/ibizsample0019s/
${
context
.
ibizsample0019
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -75,8 +72,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -75,8 +72,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0019s`
,
data
,
isloading
);
/ibizsample0019s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -91,8 +87,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -91,8 +87,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
* @memberof IBIZSample0019ServiceBase
* @memberof IBIZSample0019ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0019s/
${
context
.
ibizsample0019
}
`
,
isloading
);
/ibizsample0019s/
${
context
.
ibizsample0019
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -107,8 +102,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -107,8 +102,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
* @memberof IBIZSample0019ServiceBase
* @memberof IBIZSample0019ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0019s/getdraft`
,
isloading
);
/ibizsample0019s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0019
=
data
.
ibizsample0019
;
res
.
data
.
ibizsample0019
=
data
.
ibizsample0019
;
return
res
;
return
res
;
...
@@ -124,8 +118,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -124,8 +118,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
* @memberof IBIZSample0019ServiceBase
* @memberof IBIZSample0019ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0019s/
${
context
.
ibizsample0019
}
`
,
isloading
);
/ibizsample0019s/
${
context
.
ibizsample0019
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -141,8 +134,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -141,8 +134,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0019s/
${
context
.
ibizsample0019
}
/save`
,
data
,
isloading
);
/ibizsample0019s/
${
context
.
ibizsample0019
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -159,8 +151,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -159,8 +151,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0019s/
${
context
.
ibizsample0019
}
`
,
data
,
isloading
);
/ibizsample0019s/
${
context
.
ibizsample0019
}
`
,
data
,
isloading
);
let
updateygname
:
UpdateYGNameLogic
=
new
UpdateYGNameLogic
({
context
:
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
:
JSON
.
parse
(
JSON
.
stringify
(
res
)).
data
});
let
updateygname
:
UpdateYGNameLogic
=
new
UpdateYGNameLogic
({
context
:
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
:
JSON
.
parse
(
JSON
.
stringify
(
res
)).
data
});
let
updateygnameData
:
any
=
await
updateygname
.
onExecute
(
context
,
res
.
data
,
isloading
?
true
:
false
);
let
updateygnameData
:
any
=
await
updateygname
.
onExecute
(
context
,
res
.
data
,
isloading
?
true
:
false
);
res
=
{
status
:
200
,
data
:
updateygnameData
};
res
=
{
status
:
200
,
data
:
updateygnameData
};
...
@@ -179,8 +170,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -179,8 +170,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0019s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0019s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -195,8 +185,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -195,8 +185,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0019s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0019s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -209,8 +198,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
...
@@ -209,8 +198,7 @@ export default class IBIZSample0019ServiceBase extends EntityService {
* @memberof IBIZSample0019ServiceBase
* @memberof IBIZSample0019ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0019s/
${
context
.
ibizsample0019
}
/select`
,
isloading
);
/ibizsample0019s/
${
context
.
ibizsample0019
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0020/ibizsample0020-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 员工服务对象基类
* 员工服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
* @memberof IBIZSample0020ServiceBase
* @memberof IBIZSample0020ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0020s/
${
context
.
ibizsample0020
}
/checkkey`
,
data
,
isloading
);
/ibizsample0020s/
${
context
.
ibizsample0020
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0020s`
,
data
,
isloading
);
/ibizsample0020s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
* @memberof IBIZSample0020ServiceBase
* @memberof IBIZSample0020ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0020s/
${
context
.
ibizsample0020
}
`
,
isloading
);
/ibizsample0020s/
${
context
.
ibizsample0020
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
* @memberof IBIZSample0020ServiceBase
* @memberof IBIZSample0020ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0020s/getdraft`
,
isloading
);
/ibizsample0020s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0020
=
data
.
ibizsample0020
;
res
.
data
.
ibizsample0020
=
data
.
ibizsample0020
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
* @memberof IBIZSample0020ServiceBase
* @memberof IBIZSample0020ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0020s/
${
context
.
ibizsample0020
}
`
,
isloading
);
/ibizsample0020s/
${
context
.
ibizsample0020
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0020s/
${
context
.
ibizsample0020
}
/save`
,
data
,
isloading
);
/ibizsample0020s/
${
context
.
ibizsample0020
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0020s/
${
context
.
ibizsample0020
}
`
,
data
,
isloading
);
/ibizsample0020s/
${
context
.
ibizsample0020
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0020s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0020s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0020s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0020s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0020ServiceBase extends EntityService {
* @memberof IBIZSample0020ServiceBase
* @memberof IBIZSample0020ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0020s/
${
context
.
ibizsample0020
}
/select`
,
isloading
);
/ibizsample0020s/
${
context
.
ibizsample0020
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsample0021/ibizsample0021-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 订单服务对象基类
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
* @memberof IBIZSample0021ServiceBase
* @memberof IBIZSample0021ServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsample0021s/
${
context
.
ibizsample0021
}
/checkkey`
,
data
,
isloading
);
/ibizsample0021s/
${
context
.
ibizsample0021
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0021s`
,
data
,
isloading
);
/ibizsample0021s`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
* @memberof IBIZSample0021ServiceBase
* @memberof IBIZSample0021ServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0021s/
${
context
.
ibizsample0021
}
`
,
isloading
);
/ibizsample0021s/
${
context
.
ibizsample0021
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
* @memberof IBIZSample0021ServiceBase
* @memberof IBIZSample0021ServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsample0021s/getdraft`
,
isloading
);
/ibizsample0021s/getdraft`
,
isloading
);
res
.
data
.
ibizsample0021
=
data
.
ibizsample0021
;
res
.
data
.
ibizsample0021
=
data
.
ibizsample0021
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
* @memberof IBIZSample0021ServiceBase
* @memberof IBIZSample0021ServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsample0021s/
${
context
.
ibizsample0021
}
`
,
isloading
);
/ibizsample0021s/
${
context
.
ibizsample0021
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsample0021s/
${
context
.
ibizsample0021
}
/save`
,
data
,
isloading
);
/ibizsample0021s/
${
context
.
ibizsample0021
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsample0021s/
${
context
.
ibizsample0021
}
`
,
data
,
isloading
);
/ibizsample0021s/
${
context
.
ibizsample0021
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0021s/fetchdefault`
,
tempData
,
isloading
);
/ibizsample0021s/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsample0021s/searchdefault`
,
tempData
,
isloading
);
/ibizsample0021s/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSample0021ServiceBase extends EntityService {
* @memberof IBIZSample0021ServiceBase
* @memberof IBIZSample0021ServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsample0021s/
${
context
.
ibizsample0021
}
/select`
,
isloading
);
/ibizsample0021s/
${
context
.
ibizsample0021
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsoftware-suit/ibizsoftware-suit-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 软件服务对象基类
* 软件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
* @memberof IBIZSoftwareSuitServiceBase
* @memberof IBIZSoftwareSuitServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
/checkkey`
,
data
,
isloading
);
/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsoftwaresuits`
,
data
,
isloading
);
/ibizsoftwaresuits`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
* @memberof IBIZSoftwareSuitServiceBase
* @memberof IBIZSoftwareSuitServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
`
,
isloading
);
/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
* @memberof IBIZSoftwareSuitServiceBase
* @memberof IBIZSoftwareSuitServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsoftwaresuits/getdraft`
,
isloading
);
/ibizsoftwaresuits/getdraft`
,
isloading
);
res
.
data
.
ibizsoftwaresuit
=
data
.
ibizsoftwaresuit
;
res
.
data
.
ibizsoftwaresuit
=
data
.
ibizsoftwaresuit
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
* @memberof IBIZSoftwareSuitServiceBase
* @memberof IBIZSoftwareSuitServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
`
,
isloading
);
/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
/save`
,
data
,
isloading
);
/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
`
,
data
,
isloading
);
/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsoftwaresuits/fetchdefault`
,
tempData
,
isloading
);
/ibizsoftwaresuits/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsoftwaresuits/searchdefault`
,
tempData
,
isloading
);
/ibizsoftwaresuits/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSoftwareSuitServiceBase extends EntityService {
* @memberof IBIZSoftwareSuitServiceBase
* @memberof IBIZSoftwareSuitServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
/select`
,
isloading
);
/ibizsoftwaresuits/
${
context
.
ibizsoftwaresuit
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizstorage/ibizstorage-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 存储服务对象基类
* 存储服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZStorageServiceBase extends EntityService {
* @memberof IBIZStorageServiceBase
* @memberof IBIZStorageServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizstorages/
${
context
.
ibizstorage
}
/checkkey`
,
data
,
isloading
);
/ibizstorages/
${
context
.
ibizstorage
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZStorageServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizstorages`
,
data
,
isloading
);
/ibizstorages`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZStorageServiceBase extends EntityService {
* @memberof IBIZStorageServiceBase
* @memberof IBIZStorageServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizstorages/
${
context
.
ibizstorage
}
`
,
isloading
);
/ibizstorages/
${
context
.
ibizstorage
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZStorageServiceBase extends EntityService {
* @memberof IBIZStorageServiceBase
* @memberof IBIZStorageServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizstorages/getdraft`
,
isloading
);
/ibizstorages/getdraft`
,
isloading
);
res
.
data
.
ibizstorage
=
data
.
ibizstorage
;
res
.
data
.
ibizstorage
=
data
.
ibizstorage
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZStorageServiceBase extends EntityService {
* @memberof IBIZStorageServiceBase
* @memberof IBIZStorageServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizstorages/
${
context
.
ibizstorage
}
`
,
isloading
);
/ibizstorages/
${
context
.
ibizstorage
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZStorageServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizstorages/
${
context
.
ibizstorage
}
/save`
,
data
,
isloading
);
/ibizstorages/
${
context
.
ibizstorage
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZStorageServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizstorages/
${
context
.
ibizstorage
}
`
,
data
,
isloading
);
/ibizstorages/
${
context
.
ibizstorage
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZStorageServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizstorages/fetchdefault`
,
tempData
,
isloading
);
/ibizstorages/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZStorageServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizstorages/searchdefault`
,
tempData
,
isloading
);
/ibizstorages/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZStorageServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZStorageServiceBase extends EntityService {
* @memberof IBIZStorageServiceBase
* @memberof IBIZStorageServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizstorages/
${
context
.
ibizstorage
}
/select`
,
isloading
);
/ibizstorages/
${
context
.
ibizstorage
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibizsupplier/ibizsupplier-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 供货商服务对象基类
* 供货商服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
* @memberof IBIZSupplierServiceBase
* @memberof IBIZSupplierServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizsuppliers/
${
context
.
ibizsupplier
}
/checkkey`
,
data
,
isloading
);
/ibizsuppliers/
${
context
.
ibizsupplier
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsuppliers`
,
data
,
isloading
);
/ibizsuppliers`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
* @memberof IBIZSupplierServiceBase
* @memberof IBIZSupplierServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsuppliers/
${
context
.
ibizsupplier
}
`
,
isloading
);
/ibizsuppliers/
${
context
.
ibizsupplier
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
* @memberof IBIZSupplierServiceBase
* @memberof IBIZSupplierServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizsuppliers/getdraft`
,
isloading
);
/ibizsuppliers/getdraft`
,
isloading
);
res
.
data
.
ibizsupplier
=
data
.
ibizsupplier
;
res
.
data
.
ibizsupplier
=
data
.
ibizsupplier
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
* @memberof IBIZSupplierServiceBase
* @memberof IBIZSupplierServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizsuppliers/
${
context
.
ibizsupplier
}
`
,
isloading
);
/ibizsuppliers/
${
context
.
ibizsupplier
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizsuppliers/
${
context
.
ibizsupplier
}
/save`
,
data
,
isloading
);
/ibizsuppliers/
${
context
.
ibizsupplier
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizsuppliers/
${
context
.
ibizsupplier
}
`
,
data
,
isloading
);
/ibizsuppliers/
${
context
.
ibizsupplier
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsuppliers/fetchdefault`
,
tempData
,
isloading
);
/ibizsuppliers/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizsuppliers/searchdefault`
,
tempData
,
isloading
);
/ibizsuppliers/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class IBIZSupplierServiceBase extends EntityService {
* @memberof IBIZSupplierServiceBase
* @memberof IBIZSupplierServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizsuppliers/
${
context
.
ibizsupplier
}
/select`
,
isloading
);
/ibizsuppliers/
${
context
.
ibizsupplier
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibiztask/ibiztask-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 任务服务对象基类
* 任务服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZTASKServiceBase extends EntityService {
* @memberof IBIZTASKServiceBase
* @memberof IBIZTASKServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibiztasks/
${
context
.
ibiztask
}
/checkkey`
,
data
,
isloading
);
/ibiztasks/
${
context
.
ibiztask
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +87,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -90,8 +87,7 @@ export default class IBIZTASKServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibiztasks`
,
data
,
isloading
);
/ibiztasks`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
this
.
tempStorage
.
setItem
(
tempContext
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
return
res
;
return
res
;
...
@@ -107,8 +103,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -107,8 +103,7 @@ export default class IBIZTASKServiceBase extends EntityService {
* @memberof IBIZTASKServiceBase
* @memberof IBIZTASKServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibiztasks/
${
context
.
ibiztask
}
`
,
isloading
);
/ibiztasks/
${
context
.
ibiztask
}
`
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
return
res
;
return
res
;
...
@@ -124,8 +119,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -124,8 +119,7 @@ export default class IBIZTASKServiceBase extends EntityService {
* @memberof IBIZTASKServiceBase
* @memberof IBIZTASKServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibiztasks/getdraft`
,
isloading
);
/ibiztasks/getdraft`
,
isloading
);
res
.
data
.
ibiztask
=
data
.
ibiztask
;
res
.
data
.
ibiztask
=
data
.
ibiztask
;
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
...
@@ -142,8 +136,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -142,8 +136,7 @@ export default class IBIZTASKServiceBase extends EntityService {
* @memberof IBIZTASKServiceBase
* @memberof IBIZTASKServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibiztasks/
${
context
.
ibiztask
}
`
,
isloading
);
/ibiztasks/
${
context
.
ibiztask
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +168,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -175,8 +168,7 @@ export default class IBIZTASKServiceBase extends EntityService {
}
}
masterData
.
ibiztaskteams
=
ibiztaskteamsData
;
masterData
.
ibiztaskteams
=
ibiztaskteamsData
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibiztasks/
${
context
.
ibiztask
}
/save`
,
data
,
isloading
);
/ibiztasks/
${
context
.
ibiztask
}
/save`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
return
res
;
return
res
;
...
@@ -210,8 +202,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -210,8 +202,7 @@ export default class IBIZTASKServiceBase extends EntityService {
}
}
masterData
.
ibiztaskteams
=
ibiztaskteamsData
;
masterData
.
ibiztaskteams
=
ibiztaskteamsData
;
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibiztasks/
${
context
.
ibiztask
}
`
,
data
,
isloading
);
/ibiztasks/
${
context
.
ibiztask
}
`
,
data
,
isloading
);
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
this
.
tempStorage
.
setItem
(
context
.
srfsessionkey
+
'_ibiztaskteams'
,
JSON
.
stringify
(
res
.
data
.
ibiztaskteams
?
res
.
data
.
ibiztaskteams
:[]));
return
res
;
return
res
;
...
@@ -228,8 +219,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -228,8 +219,7 @@ export default class IBIZTASKServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibiztasks/fetchdefault`
,
tempData
,
isloading
);
/ibiztasks/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -244,8 +234,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -244,8 +234,7 @@ export default class IBIZTASKServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibiztasks/searchdefault`
,
tempData
,
isloading
);
/ibiztasks/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -270,8 +259,7 @@ export default class IBIZTASKServiceBase extends EntityService {
...
@@ -270,8 +259,7 @@ export default class IBIZTASKServiceBase extends EntityService {
* @memberof IBIZTASKServiceBase
* @memberof IBIZTASKServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibiztasks/
${
context
.
ibiztask
}
/select`
,
isloading
);
/ibiztasks/
${
context
.
ibiztask
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/ibiztaskteam/ibiztaskteam-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 任务团队服务对象基类
* 任务团队服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
...
app_Web/src/service/ibizuniproduct/ibizuniproduct-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 统一产品(索引主实体)服务对象基类
* 统一产品(索引主实体)服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
* @memberof IBIZUNIProductServiceBase
* @memberof IBIZUNIProductServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizuniproducts/
${
context
.
ibizuniproduct
}
/checkkey`
,
data
,
isloading
);
/ibizuniproducts/
${
context
.
ibizuniproduct
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizuniproducts`
,
data
,
isloading
);
/ibizuniproducts`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
* @memberof IBIZUNIProductServiceBase
* @memberof IBIZUNIProductServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizuniproducts/
${
context
.
ibizuniproduct
}
`
,
isloading
);
/ibizuniproducts/
${
context
.
ibizuniproduct
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
* @memberof IBIZUNIProductServiceBase
* @memberof IBIZUNIProductServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizuniproducts/getdraft`
,
isloading
);
/ibizuniproducts/getdraft`
,
isloading
);
res
.
data
.
ibizuniproduct
=
data
.
ibizuniproduct
;
res
.
data
.
ibizuniproduct
=
data
.
ibizuniproduct
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
* @memberof IBIZUNIProductServiceBase
* @memberof IBIZUNIProductServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizuniproducts/
${
context
.
ibizuniproduct
}
`
,
isloading
);
/ibizuniproducts/
${
context
.
ibizuniproduct
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizuniproducts/
${
context
.
ibizuniproduct
}
/save`
,
data
,
isloading
);
/ibizuniproducts/
${
context
.
ibizuniproduct
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizuniproducts/
${
context
.
ibizuniproduct
}
`
,
data
,
isloading
);
/ibizuniproducts/
${
context
.
ibizuniproduct
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizuniproducts/fetchdefault`
,
tempData
,
isloading
);
/ibizuniproducts/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizuniproducts/searchdefault`
,
tempData
,
isloading
);
/ibizuniproducts/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -228,8 +217,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -228,8 +217,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
*/
*/
public
async
searchIndexDER
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchIndexDER
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/ibizuniproducts/searchindexder`
,
tempData
,
isloading
);
/ibizuniproducts/searchindexder`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -242,8 +230,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
...
@@ -242,8 +230,7 @@ export default class IBIZUNIProductServiceBase extends EntityService {
* @memberof IBIZUNIProductServiceBase
* @memberof IBIZUNIProductServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizuniproducts/
${
context
.
ibizuniproduct
}
/select`
,
isloading
);
/ibizuniproducts/
${
context
.
ibizuniproduct
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/service/micro-component/micro-component-service-base.ts
浏览文件 @
5c658844
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
...
@@ -3,8 +3,6 @@ import EntityService from '../entity-service';
/**
/**
* 微组件服务对象基类
* 微组件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
...
@@ -50,8 +48,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -50,8 +48,7 @@ export default class MicroComponentServiceBase extends EntityService {
* @memberof MicroComponentServiceBase
* @memberof MicroComponentServiceBase
*/
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
post
(
`/microcomponents/
${
context
.
microcomponent
}
/checkkey`
,
data
,
isloading
);
/microcomponents/
${
context
.
microcomponent
}
/checkkey`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -74,8 +71,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -74,8 +71,7 @@ export default class MicroComponentServiceBase extends EntityService {
delete
data
.
srffrontuf
;
delete
data
.
srffrontuf
;
}
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/microcomponents`
,
data
,
isloading
);
/microcomponents`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -90,8 +86,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -90,8 +86,7 @@ export default class MicroComponentServiceBase extends EntityService {
* @memberof MicroComponentServiceBase
* @memberof MicroComponentServiceBase
*/
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/microcomponents/
${
context
.
microcomponent
}
`
,
isloading
);
/microcomponents/
${
context
.
microcomponent
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -106,8 +101,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -106,8 +101,7 @@ export default class MicroComponentServiceBase extends EntityService {
* @memberof MicroComponentServiceBase
* @memberof MicroComponentServiceBase
*/
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/microcomponents/getdraft`
,
isloading
);
/microcomponents/getdraft`
,
isloading
);
res
.
data
.
microcomponent
=
data
.
microcomponent
;
res
.
data
.
microcomponent
=
data
.
microcomponent
;
return
res
;
return
res
;
...
@@ -123,8 +117,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -123,8 +117,7 @@ export default class MicroComponentServiceBase extends EntityService {
* @memberof MicroComponentServiceBase
* @memberof MicroComponentServiceBase
*/
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/microcomponents/
${
context
.
microcomponent
}
`
,
isloading
);
/microcomponents/
${
context
.
microcomponent
}
`
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -140,8 +133,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -140,8 +133,7 @@ export default class MicroComponentServiceBase extends EntityService {
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/microcomponents/
${
context
.
microcomponent
}
/save`
,
data
,
isloading
);
/microcomponents/
${
context
.
microcomponent
}
/save`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -158,8 +150,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -158,8 +150,7 @@ export default class MicroComponentServiceBase extends EntityService {
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/demosys/demoapi
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/microcomponents/
${
context
.
microcomponent
}
`
,
data
,
isloading
);
/microcomponents/
${
context
.
microcomponent
}
`
,
data
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -175,8 +166,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -175,8 +166,7 @@ export default class MicroComponentServiceBase extends EntityService {
*/
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/microcomponents/fetchdefault`
,
tempData
,
isloading
);
/microcomponents/fetchdefault`
,
tempData
,
isloading
);
return
res
;
return
res
;
}
}
...
@@ -191,8 +181,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -191,8 +181,7 @@ export default class MicroComponentServiceBase extends EntityService {
*/
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/demosys/demoapi
return
await
Http
.
getInstance
().
post
(
`/microcomponents/searchdefault`
,
tempData
,
isloading
);
/microcomponents/searchdefault`
,
tempData
,
isloading
);
}
}
/**
/**
...
@@ -205,8 +194,7 @@ export default class MicroComponentServiceBase extends EntityService {
...
@@ -205,8 +194,7 @@ export default class MicroComponentServiceBase extends EntityService {
* @memberof MicroComponentServiceBase
* @memberof MicroComponentServiceBase
*/
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/demosys/demoapi
let
res
:
any
=
Http
.
getInstance
().
get
(
`/microcomponents/
${
context
.
microcomponent
}
/select`
,
isloading
);
/microcomponents/
${
context
.
microcomponent
}
/select`
,
isloading
);
return
res
;
return
res
;
}
}
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
5c658844
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
5c658844
...
@@ -48,18 +48,18 @@
...
@@ -48,18 +48,18 @@
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</tooltip>
</div>
</div>
</div>
</div>
...
@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
/**
/**
* dataview
expbar_dataview
_batchtoolbar 部件 click 事件
* dataview_batchtoolbar 部件 click 事件
*
*
* @param {*} [args={}]
* @param {*} [args={}]
* @param {*} $event
* @param {*} $event
* @memberof Usr2Base
* @memberof Usr2Base
*/
*/
public
dataview
expbar_dataview
_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
dataview_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction1_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
_batchtoolbar_deuiaction1_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction2_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
_batchtoolbar_deuiaction2_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
}
}
}
}
...
@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview
expbar_dataview
_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
let
xData
:
any
=
null
;
...
@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview
expbar_dataview
_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
let
xData
:
any
=
null
;
...
@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
if
(
args
.
length
===
0
)
{
...
@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
...
@@ -427,12 +427,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -427,12 +427,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}
let
result
:
boolean
=
true
;
let
result
:
boolean
=
true
;
Object
.
assign
(
actionData
,
args
);
Object
.
assign
(
actionData
,
args
);
if
(
'selectionchange'
.
indexOf
(
eventName
)
!==
-
1
)
{
result
=
await
this
.
execute_dataviewexpbar_selectionchange_ctrl_logic
(
actionData
)
&&
result
;
}
if
(
'load'
.
indexOf
(
eventName
)
!==
-
1
)
{
result
=
await
this
.
execute_dataviewexpbar_load_ctrl_logic
(
actionData
)
&&
result
;
}
if
(
!
result
)
{
if
(
!
result
)
{
return
false
;
return
false
;
}
}
...
@@ -440,30 +434,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -440,30 +434,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
return
true
;
return
true
;
}
}
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public
async
execute_dataviewexpbar_selectionchange_ctrl_logic
(
actionData
:
any
):
Promise
<
boolean
>
{
console
.
log
(
'暂未支持 CUSTOM 类型'
);
return
true
;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public
async
execute_dataviewexpbar_load_ctrl_logic
(
actionData
:
any
):
Promise
<
boolean
>
{
console
.
log
(
'暂未支持 CUSTOM 类型'
);
return
true
;
}
...
@@ -708,9 +678,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -708,9 +678,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
* 工具栏模型
*
*
* @type {*}
* @type {*}
* @memberof IBIZBOOK
DataViewExp
View
* @memberof IBIZBOOK
Usr2Data
View
*/
*/
public
dataviewexpviewdataviewexpbar_
dataview_batchtoolbarModels
:
any
=
{
public
usr2dataview
dataview_batchtoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
...
@@ -1035,7 +1005,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1035,7 +1005,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -1130,7 +1100,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1130,7 +1100,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -1247,7 +1217,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1247,7 +1217,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
@@ -1255,7 +1225,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1255,7 +1225,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
if
(
item
.
ibizbook
){
...
@@ -1357,16 +1327,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1357,16 +1327,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
$event
.
stopPropagation
();
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Edit'
,
tag
))
{
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_uc365542_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_uc365542_click
(
data
,
tag
,
$event
);
}
}
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录