Procházet zdrojové kódy

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

release_toaliyun_real
Stormeye.Wu před 7 roky
rodič
revize
9140cdd5ad
2 změnil soubory, kde provedl 22 přidání a 7 odebrání
  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 Zobrazit soubor

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

public String getStopFee() {
return stopFee;
}

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

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




public static enum Field public static enum Field
{ {
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") 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") ,Addr_ASC("`addr` ASC"),Addr_DESC("`addr` DESC")
,Number_ASC("`number` ASC"),Number_DESC("`number` DESC") ,Number_ASC("`number` ASC"),Number_DESC("`number` DESC")
,EntryExit_ASC("`entryExit` ASC"),EntryExit_DESC("`entryExit` 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") ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC")
,UpdateDate_ASC("`updateDate` ASC"),UpdateDate_DESC("`updateDate` DESC") ,UpdateDate_ASC("`updateDate` ASC"),UpdateDate_DESC("`updateDate` DESC")
,ParkId_ASC("`parkId` ASC"),ParkId_DESC("`parkId` DESC") ,ParkId_ASC("`parkId` ASC"),ParkId_DESC("`parkId` DESC")


+ 9
- 5
mallinkService/src/main/resources/mapper/WxParkMapper.xml Zobrazit soubor

@@ -7,6 +7,7 @@
<result column="addr" jdbcType="VARCHAR" property="addr" /> <result column="addr" jdbcType="VARCHAR" property="addr" />
<result column="number" jdbcType="INTEGER" property="number" /> <result column="number" jdbcType="INTEGER" property="number" />
<result column="entry_exit" jdbcType="INTEGER" property="entryExit" /> <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="create_date" jdbcType="TIMESTAMP" property="createDate" />
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate" /> <result column="update_date" jdbcType="TIMESTAMP" property="updateDate" />
<result column="park_id" jdbcType="VARCHAR" property="parkId" /> <result column="park_id" jdbcType="VARCHAR" property="parkId" />
@@ -15,7 +16,7 @@
</resultMap> </resultMap>
<sql id="allColumns"> <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>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
@@ -42,10 +43,13 @@
</if> </if>
<if test=" null != entryExit "> <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 "> <if test=" null != createDate ">
and `create_date` = #{createDate} and `create_date` = #{createDate}


Načítá se…
Zrušit
Uložit