| | |
| | | <resultMap id="BaseResultMap" type="com.stylefeng.guns.modular.system.model.PushOrder"> |
| | | <id column="id" property="id"/> |
| | | <result column="companyId" property="companyId"/> |
| | | <result column="openCityId" property="openCityId"/> |
| | | <result column="pushDistance" property="pushDistance"/> |
| | | <result column="pushTime" property="pushTime"/> |
| | | <result column="driverProportion" property="driverProportion"/> |
| | |
| | | select |
| | | id as id, |
| | | companyId as companyId, |
| | | openCityId as openCityId, |
| | | pushDistance as pushDistance, |
| | | pushTime as pushTime, |
| | | driverProportion as driverProportion, |
| | | `type` as `type`, |
| | | pushType as pushType |
| | | from t_sys_push_order where companyId = #{companyId} |
| | | from t_sys_push_order where openCityId = #{openCityId} |
| | | <if test="null != type"> |
| | | and `type` = #{type} |
| | | </if> |