src/main/java/org/springblade/modules/yw/mapper/EmergencySuppliesMapper.xml
@@ -43,6 +43,14 @@ <if test="emergencySupplies.type!=null"> and yes.type = #{emergencySupplies.type} </if> <if test="emergencySupplies.ownership!=null"> <if test="emergencySupplies.ownership==1"> and yes.firm_id is null </if> <if test="emergencySupplies.ownership==2"> and yes.firm_id is not null </if> </if> </select> </mapper> src/main/java/org/springblade/modules/yw/vo/EmergencySuppliesVO.java
@@ -36,5 +36,10 @@ */ @ApiModelProperty(value = "责任人电话") private String personInChaPhone; /** * 归属 */ @ApiModelProperty(value = "归属") private Integer ownership; }