|
@ -525,6 +525,7 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
* @param patientIDcard 患者身份证
|
|
|
* @param type 处理类型:1同意,2拒绝
|
|
|
* @param adminTeamCode 行政团队code
|
|
|
* @param refuseReason 居民签约时的医生拒签原因(可选 限制200字)
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "sign")
|
|
@ -544,7 +545,8 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
int type,
|
|
|
long adminTeamCode,
|
|
|
@RequestParam(required = false, defaultValue = "0") String expenses,
|
|
|
@RequestParam(required = false) String sevId) {
|
|
|
@RequestParam(required = false) String sevId,
|
|
|
@RequestParam(required = false) String refuseReason) {
|
|
|
try {
|
|
|
if (type != 2) {
|
|
|
try {
|
|
@ -579,7 +581,7 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
return error(-1, "健康情况标签不能为空!");
|
|
|
}
|
|
|
|
|
|
JSONObject res = familyContractService.handleSign(signType, getAccessToken(), doctor, doctorName, healthDoctor, healthDoctorName, msgid, patientIDcard, type, healthLabel, customLabel, disease, expenses, adminTeamCode, sevId);
|
|
|
JSONObject res = familyContractService.handleSign(signType, getAccessToken(), doctor, doctorName, healthDoctor, healthDoctorName, msgid, patientIDcard, type, healthLabel, customLabel, disease, expenses, adminTeamCode, sevId,refuseReason);
|
|
|
if (res.getInt("status") == -1) {
|
|
|
return error(-1, "未知的处理类型!");
|
|
|
} else if (res.getInt("status") == 0) {
|