Browse Source

message:

根据agencyId查询
dev_power_axis
HAHA 3 years ago
parent
commit
35f16bcbcf
  1. 1
      epmet-plugins-module/pli-power-base/pli-power-base-client/src/main/java/com/epmet/plugin/power/dto/axis/form/PowerAxisStructFormDTO.java
  2. 3
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerAxisStructDao.xml

1
epmet-plugins-module/pli-power-base/pli-power-base-client/src/main/java/com/epmet/plugin/power/dto/axis/form/PowerAxisStructFormDTO.java

@ -8,5 +8,6 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
public class PowerAxisStructFormDTO{ public class PowerAxisStructFormDTO{
private String agencyId;
private String name; private String name;
} }

3
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/poweraxis/PowerAxisStructDao.xml

@ -77,6 +77,9 @@
1 = 1 1 = 1
<if test="name != null and name != ''"> <if test="name != null and name != ''">
and NAME = #{name} and NAME = #{name}
</if>
<if test="agencyId != null and agencyId != ''">
and AGENCY_ID = #{agencyId}
</if> </if>
and del_flag = 0 and del_flag = 0
</where> </where>

Loading…
Cancel
Save