Commit 7384c6c0 authored by 曹盼盼's avatar 曹盼盼

修改气瓶气瓶基本信息列表接口以及根据id查询追溯详情接口

parent 8a573238
...@@ -154,5 +154,6 @@ public class CylinderInfoDto extends BaseDto { ...@@ -154,5 +154,6 @@ public class CylinderInfoDto extends BaseDto {
private String electronicLabelCode; private String electronicLabelCode;
private String cylinderStatusStr; private String cylinderStatusStr;
private String SupervisionCode;
} }
...@@ -82,6 +82,12 @@ public class TzCylinderInfoDto { ...@@ -82,6 +82,12 @@ public class TzCylinderInfoDto {
* 阀门制造单位 * 阀门制造单位
*/ */
private String valveManufacturUnit; private String valveManufacturUnit;
@ApiModelProperty(value = "监管码")
/**
* 监管码
*/
private String SupervisionCode;
} }
...@@ -120,4 +120,7 @@ public class CylinderInfo extends BaseEntity { ...@@ -120,4 +120,7 @@ public class CylinderInfo extends BaseEntity {
@ApiModelProperty(value = "充装介质名称") @ApiModelProperty(value = "充装介质名称")
private String fillingMediaName; private String fillingMediaName;
@ApiModelProperty(value = "监管码")
private String SupervisionCode;
} }
...@@ -184,6 +184,9 @@ ...@@ -184,6 +184,9 @@
<if test="cylinderInfoDto.electronicLabelCode != null and cylinderInfoDto.electronicLabelCode != '' "> <if test="cylinderInfoDto.electronicLabelCode != null and cylinderInfoDto.electronicLabelCode != '' ">
and ct.electronic_label_code like concat('%',#{cylinderInfoDto.electronicLabelCode},'%') and ct.electronic_label_code like concat('%',#{cylinderInfoDto.electronicLabelCode},'%')
</if> </if>
<if test="cylinderInfoDto.SupervisionCode != null and cylinderInfoDto.SupervisionCode != '' ">
and ci.supervision_code like concat('%',#{cylinderInfoDto.electronicLabelCode},'%')
</if>
ORDER BY ci.sync_date DESC ORDER BY ci.sync_date DESC
</where> </where>
</select> </select>
......
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