|
@ -4,6 +4,8 @@ import com.yihu.wlyy.entity.organization.HospitalDept;
|
|
|
import com.yihu.wlyy.service.app.consult.ConsultTeamService;
|
|
|
import com.yihu.wlyy.service.app.sign.FamilyContractService;
|
|
|
import com.yihu.wlyy.web.BaseController;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.json.JSONArray;
|
|
|
import org.json.JSONObject;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@ -20,7 +22,8 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
* 修改历史数据处理控制器
|
|
|
*/
|
|
|
@Controller
|
|
|
@RequestMapping(value = "/dataHandling", produces = MediaType.APPLICATION_JSON_UTF8_VALUE,method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
@Api(description = "修改历史数据处理控制器")
|
|
|
@RequestMapping(value = "/dataHandling", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
|
|
|
public class DataHandlingController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
@ -32,7 +35,7 @@ public class DataHandlingController extends BaseController {
|
|
|
/**
|
|
|
* 生成签约表中的行政团队的code
|
|
|
*/
|
|
|
@RequestMapping(value = "produceSignAdminTeamCode")
|
|
|
@RequestMapping(value = "produceSignAdminTeamCode",method =RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public String produceSignAdminTeamCode() {
|
|
|
try {
|
|
@ -47,7 +50,7 @@ public class DataHandlingController extends BaseController {
|
|
|
* 生成咨询表中中的行政团队的code
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "produceConsultAdminTeamCode")
|
|
|
@RequestMapping(value = "produceConsultAdminTeamCode",method =RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public String produceConsultAdminTeamCode() {
|
|
|
try {
|
|
@ -62,7 +65,8 @@ public class DataHandlingController extends BaseController {
|
|
|
* 生成医生和患者表中有身份的用户的密码
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "producePatientAndDoctorPassword")
|
|
|
@ApiOperation("生成医生和患者表中有身份的用户的密码")
|
|
|
@RequestMapping(value = "producePatientAndDoctorPassword",method =RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public String producePatientAndDoctorPasswor() {
|
|
|
try {
|
|
@ -76,6 +80,7 @@ public class DataHandlingController extends BaseController {
|
|
|
* 初始化wlyy_doctor的数据到wlyy_user
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation("初始化wlyy_doctor的数据到wlyy_user")
|
|
|
@RequestMapping(value = "initWLyyDoctorTable2WLyyUserTable",method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public String initWLyyDoctorTable2WLyyUserTable() {
|