Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
lxx_pms
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
游宗学
lxx_pms
Commits
b0b498f7
提交
b0b498f7
authored
5月 28, 2020
作者:
游宗学
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改!
上级
c9c61097
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
7 行删除
+7
-7
ApiController.class.php
PHP/Application/Fdd/Controller/ApiController.class.php
+2
-2
TemplateController.class.php
PHP/Application/Fdd/Controller/TemplateController.class.php
+5
-5
没有找到文件。
PHP/Application/Fdd/Controller/ApiController.class.php
浏览文件 @
b0b498f7
...
...
@@ -92,7 +92,7 @@ class ApiController extends \Common\Controller\BaseFddController{
}
/**
* @name 签约
续住
协议
* @name 签约
转租
协议
* @version 2020-05-28
* @author yzx
*/
...
...
@@ -100,7 +100,7 @@ class ApiController extends \Common\Controller\BaseFddController{
$post_data
[
'tenant_id'
]
=
I
(
'tenant_id'
,
0
,
'intval'
);
$post_data
[
'room_id'
]
=
I
(
'room_id'
,
0
,
'intval'
);
$post_data
[
'contract_id'
]
=
I
(
'contract_id'
,
0
,
'intval'
);
$post_data
[
'service_code'
]
=
'
sublease
'
;
$post_data
[
'service_code'
]
=
'
reservation_surrender
'
;
$result
=
$this
->
postData
(
$post_data
);
echo
$result
;
}
...
...
PHP/Application/Fdd/Controller/TemplateController.class.php
浏览文件 @
b0b498f7
...
...
@@ -64,7 +64,7 @@ class TemplateController extends BaseFddController
case
'preordain'
:
$template
=
"preordainTemplate"
;
break
;
case
'
sublease
'
:
case
'
reservation_surrender
'
:
$template
=
"subleaseTemplate"
;
break
;
}
...
...
@@ -204,7 +204,7 @@ class TemplateController extends BaseFddController
case
'preordain'
:
$result
=
$this
->
extsignPreordain
(
$query_data_tmp
[
'tenant_id'
],
$query_data_tmp
[
'preordain_id'
],
$query_data_tmp
[
'room_id'
],
$tmp_id
);
break
;
case
'
sublease
'
:
case
'
reservation_surrender
'
:
$result
=
$this
->
extsignSublease
(
$query_data_tmp
[
'tenant_id'
],
$query_data_tmp
[
'contract_id'
],
$tmp_id
);
break
;
}
...
...
@@ -265,7 +265,7 @@ class TemplateController extends BaseFddController
$result
=
array_merge
(
$jf_data
,
$preordain_data
);
WL
(
$result
,
"fdd_get_data_res"
,
1
);
break
;
case
'
sublease
'
:
case
'
reservation_surrender
'
:
$jf_data
=
$this
->
logic
(
'Fdd\FddData'
)
->
jfData
(
$apartment_id
,
'sublease'
)[
'data'
];
$sublease_data
=
$this
->
logic
(
'Fdd\FddData'
)
->
subleaseData
(
$contract_id
)[
'data'
];
$result
=
array_merge
(
$jf_data
,
$sublease_data
);
...
...
@@ -658,7 +658,7 @@ class TemplateController extends BaseFddController
// 丙方签名
$transaction_id
=
date
(
'YmdHis'
)
.
str_pad
(
rand
(
0
,
399
),
3
,
'0'
);
$customer_id
=
$this
->
helper
(
'Fdd\UserInfo'
)
->
getUserCaId
(
$tenant_id
);
$result
=
$this
->
helper
(
'Fdd\Contract'
)
->
extsign
(
$contract_number_id
,
$transaction_id
,
$customer_id
,
$third_sign
,
''
,
1
,
3
,
'
续
住'
);
$result
=
$this
->
helper
(
'Fdd\Contract'
)
->
extsign
(
$contract_number_id
,
$transaction_id
,
$customer_id
,
$third_sign
,
''
,
1
,
3
,
'
转
住'
);
if
(
!
$result
)
{
return
RD
(
'exsign_first'
);
}
...
...
@@ -681,7 +681,7 @@ class TemplateController extends BaseFddController
// 如果没有查到ca证书就不签章
if
(
!
empty
(
$scene_data
[
'data'
]))
{
$transaction_id
=
date
(
'YmdHis'
)
.
str_pad
(
rand
(
399
,
699
),
3
,
'0'
);
$result
=
$this
->
helper
(
'Fdd\Contract'
)
->
extsign
(
$contract_number_id
,
$transaction_id
,
$customer_id
,
$first_sign
,
''
,
1
,
3
,
'
续
住'
);
$result
=
$this
->
helper
(
'Fdd\Contract'
)
->
extsign
(
$contract_number_id
,
$transaction_id
,
$customer_id
,
$first_sign
,
''
,
1
,
3
,
'
转
住'
);
WL
(
$result
,
'test-sign'
,
1
);
if
(
!
$result
)
{
return
RD
(
'exsign_second'
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论