| | |
| | | package com.doumee.api; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.doumee.biz.system.SystemDictDataBiz; |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.utils.HttpsUtil; |
| | | import com.doumee.core.wx.WXConstant; |
| | | import com.doumee.dao.business.model.YwContract; |
| | | import com.doumee.service.business.PlatformJobService; |
| | | import com.doumee.service.business.YwContractBillService; |
| | | import com.doumee.service.business.YwContractService; |
| | | import com.doumee.service.business.YwPatrolSchemeService; |
| | | import com.doumee.service.system.SystemDictDataService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @Autowired |
| | | private YwContractService ywContractService; |
| | | |
| | | @Autowired |
| | | private YwPatrolSchemeService ywPatrolSchemeService; |
| | | |
| | | |
| | | @ApiOperation("定时处理合同账单编码") |
| | | @GetMapping("/ywDealContractBillCodeTimer") |
| | |
| | | return ApiResponse.success("定时处理合同过期与执行中"); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | String url = WXConstant.GET_ACCESS_TOKEN_URL.replace("APPID","wx95ac1efb67f0330d") |
| | | .replace("APPSECRET","f228b9e3b49a37b881b51431a483c939"); |
| | | String response = HttpsUtil.get(url,false); |
| | | JSONObject json = JSONObject.parseObject(response); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @ApiOperation("定时生成今日巡检任务任务") |
| | | @GetMapping("/ywPatrolSchemeTaskTimer") |
| | | public ApiResponse ywPatrolSchemeTaskTimer() { |
| | | ywPatrolSchemeService.timerAuto(); |
| | | return ApiResponse.success("定时生成今日巡检任务任务执行中"); |
| | | } |
| | | |
| | | |
| | | } |