Commit 488fed04 authored by litengwei's avatar litengwei

安装改造适配多流程节点

parent 88b4d200
...@@ -225,4 +225,15 @@ public class JgInstallationNoticeDto extends BaseDto { ...@@ -225,4 +225,15 @@ public class JgInstallationNoticeDto extends BaseDto {
@ApiModelProperty(value = "设备使用地点-街道(镇)") @ApiModelProperty(value = "设备使用地点-街道(镇)")
private String streetName; private String streetName;
private List<String> roleIds;
private String dataType ;
private String nextExecuteIds;
private String promoter;
private String instanceStatus;
} }
...@@ -367,4 +367,15 @@ public class JgInstallationNotice extends BaseEntity { ...@@ -367,4 +367,15 @@ public class JgInstallationNotice extends BaseEntity {
@TableField(value ="\"street_name\"") @TableField(value ="\"street_name\"")
private String streetName; private String streetName;
@TableField("next_execute_ids")
private String nextExecuteIds;
@TableField(value = "promoter")
private String promoter;
@TableField("instance_status")
private String instanceStatus;
} }
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
isn.city_name AS cityName, isn.city_name AS cityName,
isn.county_name AS countyName, isn.county_name AS countyName,
isn.instance_id AS instanceId, isn.instance_id AS instanceId,
isn.promoter,
isn.next_execute_ids AS nextExecuteIds,
isn.instance_status AS instanceStatus,
isn.notice_report_url AS noticeReportUrl isn.notice_report_url AS noticeReportUrl
FROM FROM
tzs_jg_installation_notice isn tzs_jg_installation_notice isn
...@@ -41,7 +44,7 @@ ...@@ -41,7 +44,7 @@
</if> </if>
</if> </if>
<if test="type == 'supervision'"> <if test="type == 'supervision'">
AND (isn.notice_status in ('6612', '6613', '6614') or isn.status in('6614') ) AND (isn.notice_status in ('6612', '6613', '6610') )
AND isn.receive_org_credit_code = #{orgCode} AND isn.receive_org_credit_code = #{orgCode}
</if> </if>
<if test="type == 'enterprise'"> <if test="type == 'enterprise'">
......
...@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam; ...@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.typroject.tyboot.core.restful.utils.ResponseModel; import org.typroject.tyboot.core.restful.utils.ResponseModel;
import java.util.Map; import java.util.Map;
@FeignClient(name = "TZS-YMT", path = "/ymt", configuration = @FeignClient(name = "TZS-YMT", path = "/ymt", configuration =
{FeignConfiguration.class}) {FeignConfiguration.class})
public interface TzsServiceFeignClient { public interface TzsServiceFeignClient {
...@@ -44,5 +44,21 @@ public interface TzsServiceFeignClient { ...@@ -44,5 +44,21 @@ public interface TzsServiceFeignClient {
ResponseModel<Map<String, Object>> applicationFormCode(@RequestParam("type") String type, ResponseModel<Map<String, Object>> applicationFormCode(@RequestParam("type") String type,
@RequestParam("batchSize") int batchSize); @RequestParam("batchSize") int batchSize);
/**
* 申请单编号生成
* @param key
* @return String
*/
@RequestMapping(value = "/generate-code/deviceRegistrationCode", method = RequestMethod.POST)
ResponseModel<String> deviceRegistrationCode(@RequestParam("key") String key);
/**
* 申请单编号生成
* @param key
* @return String
*/
@RequestMapping(value = "/generate-code/useRegistrationCode", method = RequestMethod.POST)
ResponseModel<String> useRegistrationCode(@RequestParam("key") String key);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment