Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
lxx_pms
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
游宗学
lxx_pms
Commits
c9c61097
提交
c9c61097
authored
5月 28, 2020
作者:
游宗学
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
法大大预定修改!
上级
86243c95
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
24 行增加
和
24 行删除
+24
-24
subleaseTemplate.html
...kingWap/View/default/CustomTemplate/subleaseTemplate.html
+1
-1
ExtsignHelper.class.php
PHP/Application/Common/Helper/Fdd/ExtsignHelper.class.php
+5
-0
MessageLogic.class.php
PHP/Application/Common/Logic/Message/MessageLogic.class.php
+4
-0
GeneralMessagePushModel.class.php
...on/Common/Model/General/GeneralMessagePushModel.class.php
+2
-0
ApiController.class.php
PHP/Application/Fdd/Controller/ApiController.class.php
+2
-2
TemplateController.class.php
PHP/Application/Fdd/Controller/TemplateController.class.php
+3
-20
subleaseTemplate.html
PHP/Htdoc/Upload/ContractHtmlTmplate/subleaseTemplate.html
+1
-1
preordain-2020-05-28.sql
PHP/sql/preordain-2020-05-28.sql
+2
-0
renewals-2020-05-28.sql
PHP/sql/renewals-2020-05-28.sql
+2
-0
surrender-2020-05-28.sql
PHP/sql/surrender-2020-05-28.sql
+2
-0
没有找到文件。
PHP/Application/BookingWap/View/default/CustomTemplate/subleaseTemplate.html
浏览文件 @
c9c61097
...
...
@@ -2,7 +2,7 @@
<head></head>
<body>
<div
style=
"font-size:16px;line-height:150%;padding:30px 10px"
>
<p
style=
";text-align: center;font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><strong><span
style=
"font-family: 楷体_GB2312;letter-spacing: 1px;font-size:24px"
><span
style=
"font-family:楷体_GB2312"
>
房屋
转租
服务合同
</span></span></strong></p>
<p
style=
";text-align: center;font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><strong><span
style=
"font-family: 楷体_GB2312;letter-spacing: 1px;font-size:24px"
><span
style=
"font-family:楷体_GB2312"
>
房屋
续住
服务合同
</span></span></strong></p>
<p
style=
";font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><span
style=
"font-family: 宋体;letter-spacing: 1px;font-size:14px"
>
<span
style=
"font-family:宋体"
>
编号:
<span
style=
"color:red"
>
{{$parameter.old_contract_number}}
</span></span></span></p>
<p
style=
";font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><span
style=
"font-family: Arial;letter-spacing: 1px;font-size:14px"
>
</span></p>
<p
style=
";font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><span
style=
"font-family: 宋体;letter-spacing: 1px;font-size:14px"
><span
style=
"font-family:宋体"
>
甲方:
<span
style=
"color:red"
>
{{$parameter.jf_bot}}
</span></span></span></p>
...
...
PHP/Application/Common/Helper/Fdd/ExtsignHelper.class.php
浏览文件 @
c9c61097
...
...
@@ -287,6 +287,11 @@ class ExtsignHelper extends BaseHelper
if
(
!
$result
)
{
return
$this
->
errorStatus
(
'exsign_filing'
);
}
//更新退租法大大
$where
[
'surrender_id'
]
=
[
'eq'
,
$surrender_id
];
$save_data
[
'is_sign'
]
=
1
;
$save_data
[
'fdd_id'
]
=
$contract_number_id
;
$this
->
helper
(
"Surrender"
)
->
updateWhere
(
$where
,
$save_data
);
return
$this
->
successStatus
(
'签署成功'
);
}
...
...
PHP/Application/Common/Logic/Message/MessageLogic.class.php
浏览文件 @
c9c61097
...
...
@@ -176,6 +176,10 @@ class MessageLogic extends BaseLogic
$datas
[
'message_name'
]
=
'你有一条审批待办, 请及时处理'
;
break
;
case
GeneralMessagePushModel
::
$push_code
[
'APPLY_RENEWALS'
]
:
$datas
[
'message_type'
]
=
'1'
;
$datas
[
'message_name'
]
=
$room
[
'room_number'
]
.
'房间申请续租'
;
break
;
default
:
return
array
(
'status'
=>
0
,
'message'
=>
'[M0002]不被允许的push_code'
);
}
...
...
PHP/Application/Common/Model/General/GeneralMessagePushModel.class.php
浏览文件 @
c9c61097
...
...
@@ -33,6 +33,7 @@ class GeneralMessagePushModel extends BaseModel {
'CLEANING'
=>
'cleaning'
,
'CUSTOMER_WITH'
=>
'customer_with'
,
'APPROVAL_PRICE'
=>
'approval_price'
,
'APPLY_RENEWALS'
=>
'apply_renewals'
,
];
}
\ No newline at end of file
PHP/Application/Fdd/Controller/ApiController.class.php
浏览文件 @
c9c61097
...
...
@@ -92,8 +92,8 @@ class ApiController extends \Common\Controller\BaseFddController{
}
/**
* @name 签约
转租
协议
* @version 2020-05-2
7
* @name 签约
续住
协议
* @version 2020-05-2
8
* @author yzx
*/
public
function
subleaseData
(){
...
...
PHP/Application/Fdd/Controller/TemplateController.class.php
浏览文件 @
c9c61097
...
...
@@ -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'
);
...
...
@@ -701,26 +701,9 @@ class TemplateController extends BaseFddController
$where
[
'company_id'
]
=
[
'exp'
,
'!= 0'
];
$save_data
[
'fdd_id'
]
=
$contract_number_id
;
$save_data
[
'is_sign'
]
=
1
;
$save_data
[
'company_id'
]
=
$contract_info
[
'company_id'
];
$_result
=
D
(
'Contract'
)
->
where
(
$where
)
$_result
=
D
(
'Renewals'
)
->
where
(
$where
)
->
data
(
$save_data
)
->
save
();
// 发送短信
$room_info
=
$this
->
helper
(
'Room'
)
->
getDataById
(
$contract_info
[
'room_id'
]);
$phone
=
$tenant_info
[
'phone'
];
$message
=
'乐友,您已签约入住乐乎,登陆APP即可查看电子合同,下载APP:http://dwz.cn/6q6ptA'
;
// 兼容有朋签约
$signature
=
'【乐乎】'
;
$organization_id
=
$this
->
helper
(
'Company'
)
->
getOne
([
'company_id'
=>
$contract_info
[
'company_id'
],
'organization_id'
=>
[
'exp'
,
'!= 0'
]],
'organization_id'
)[
'data'
];
$organization
=
$this
->
helper
(
'Organization'
)
->
getOne
([
'organization_id'
=>
$organization_id
[
'organization_id'
]],
'organization_id, name'
)[
'data'
];
if
(
$organization
[
'organization_id'
]
!=
1
)
{
$message
=
'尊敬的客户,恭喜您已成功办理入住签约!'
;
$signature
=
'【'
.
$organization
[
'name'
]
.
'】'
;
}
$res
=
$this
->
helper
(
'SmsCaptcha'
)
->
sendMessage
(
$phone
,
$message
,
$signature
,
false
,
$room_info
[
'apartment_id'
]
?:
0
);
return
RD
(
'签署成功'
,
$contract_number_id
,
1
);
}
}
PHP/Htdoc/Upload/ContractHtmlTmplate/subleaseTemplate.html
浏览文件 @
c9c61097
...
...
@@ -2,7 +2,7 @@
<head></head>
<body>
<div
style=
"font-size:16px;line-height:150%;padding:30px 10px"
>
<p
style=
";text-align: center;font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><strong><span
style=
"font-family: 楷体_GB2312;letter-spacing: 1px;font-size:24px"
><span
style=
"font-family:楷体_GB2312"
>
房屋
转租
服务合同
</span></span></strong></p>
<p
style=
";text-align: center;font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><strong><span
style=
"font-family: 楷体_GB2312;letter-spacing: 1px;font-size:24px"
><span
style=
"font-family:楷体_GB2312"
>
房屋
续住
服务合同
</span></span></strong></p>
<p
style=
";font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><span
style=
"font-family: 宋体;letter-spacing: 1px;font-size:14px"
>
<span
style=
"font-family:宋体"
>
编号:
<span
style=
"color:red"
>
{{$parameter.old_contract_number}}
</span></span></span></p>
<p
style=
";font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><span
style=
"font-family: Arial;letter-spacing: 1px;font-size:14px"
>
</span></p>
<p
style=
";font-family: 'Times New Roman';font-size:14px;white-space: normal;line-height: 24px"
><span
style=
"font-family: 宋体;letter-spacing: 1px;font-size:14px"
><span
style=
"font-family:宋体"
>
甲方:
<span
style=
"color:red"
>
{{$parameter.jf_bot}}
</span></span></span></p>
...
...
PHP/sql/preordain-2020-05-28.sql
0 → 100644
浏览文件 @
c9c61097
ALTER
TABLE
`preordain`
ADD
`is_sign`
TINYINT
(
1
)
UNSIGNED
NOT
NULL
DEFAULT
'0'
COMMENT
'是否签约'
;
ALTER
TABLE
`preordain`
ADD
`fdd_id`
VARCHAR
(
32
)
NOT
NULL
DEFAULT
'0'
COMMENT
'法大大ID'
;
PHP/sql/renewals-2020-05-28.sql
0 → 100644
浏览文件 @
c9c61097
ALTER
TABLE
`renewals`
ADD
`fdd_id`
VARCHAR
(
32
)
NOT
NULL
DEFAULT
'0'
COMMENT
'法大大ID'
;
ALTER
TABLE
`renewals`
ADD
`is_sign`
TINYINT
(
1
)
UNSIGNED
NOT
NULL
DEFAULT
'0'
COMMENT
'是否签约'
;
PHP/sql/surrender-2020-05-28.sql
0 → 100644
浏览文件 @
c9c61097
ALTER
TABLE
`surrender`
ADD
`is_sign`
TINYINT
(
1
)
UNSIGNED
NOT
NULL
DEFAULT
'0'
COMMENT
'是否签约'
AFTER
`delete_time`
;
ALTER
TABLE
`surrender`
ADD
`fdd_id`
VARCHAR
(
32
)
NOT
NULL
DEFAULT
'0'
COMMENT
'法大大ID'
AFTER
`is_sign`
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论