Просмотр исходного кода

[车场信息][修改]:车场信息

release_toaliyun_real
Stormeye.Wu 7 лет назад
Родитель
Сommit
9140cdd5ad
2 измененных файлов: 22 добавлений и 7 удалений
  1. +13
    -2
      mallinkService/src/main/java/com/simple/domain/po/WxPark.java
  2. +9
    -5
      mallinkService/src/main/resources/mapper/WxParkMapper.xml

+ 13
- 2
mallinkService/src/main/java/com/simple/domain/po/WxPark.java Просмотреть файл

@@ -54,6 +54,9 @@ public class WxPark implements Serializable {
/*出入口数量**/
@io.swagger.annotations.ApiModelProperty(value="出入口数量",name="entryExit")
private Integer entryExit;
/*停车费**/
@io.swagger.annotations.ApiModelProperty(value="停车费",name="stopFee")
private String stopFee;
/*创建时间**/
@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")
private Date createDate;
@@ -93,6 +96,15 @@ public class WxPark implements Serializable {
public void setEntryExit(Integer _entryExit) {
entryExit = _entryExit;
}

public String getStopFee() {
return stopFee;
}

public void setStopFee(String _stopFee) {
this.stopFee = _stopFee;
}

public Date getCreateDate() {
return createDate;
}
@@ -124,8 +136,6 @@ public class WxPark implements Serializable {
vendorParams = _vendorParams;
}



public static enum Field
{
Id_ASC("`id` ASC"),Id_DESC("`id` DESC")
@@ -133,6 +143,7 @@ public class WxPark implements Serializable {
,Addr_ASC("`addr` ASC"),Addr_DESC("`addr` DESC")
,Number_ASC("`number` ASC"),Number_DESC("`number` DESC")
,EntryExit_ASC("`entryExit` ASC"),EntryExit_DESC("`entryExit` DESC")
,StopFee_ASC("`stopFee` ASC"),StopFee_DESC("`stopFee` DESC")
,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC")
,UpdateDate_ASC("`updateDate` ASC"),UpdateDate_DESC("`updateDate` DESC")
,ParkId_ASC("`parkId` ASC"),ParkId_DESC("`parkId` DESC")


+ 9
- 5
mallinkService/src/main/resources/mapper/WxParkMapper.xml Просмотреть файл

@@ -7,6 +7,7 @@
<result column="addr" jdbcType="VARCHAR" property="addr" />
<result column="number" jdbcType="INTEGER" property="number" />
<result column="entry_exit" jdbcType="INTEGER" property="entryExit" />
<result column="stop_fee" jdbcType="VARCHAR" property="stopFee" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate" />
<result column="park_id" jdbcType="VARCHAR" property="parkId" />
@@ -15,7 +16,7 @@
</resultMap>
<sql id="allColumns">
`id`,`tenant_id`,`addr`,`number`,`entry_exit`,`create_date`,`update_date`,`park_id`,`vendor_type`,`vendor_params`
`id`,`tenant_id`,`addr`,`number`,`entry_exit`,`stop_fee`,`create_date`,`update_date`,`park_id`,`vendor_type`,`vendor_params`
</sql>

<sql id="dynamicWhereConditions">
@@ -42,10 +43,13 @@
</if>
<if test=" null != entryExit ">
and `entry_exit` = #{entryExit}
</if>
and `entry_exit` = #{entryExit}
</if>

<if test=" null != stopFee ">
and `stop_fee` = #{stopFee}
</if>

<if test=" null != createDate ">
and `create_date` = #{createDate}


Загрузка…
Отмена
Сохранить