parent
0035562d8f
commit
db9c11012d
@ -1,7 +1,461 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="jnpf.mapper.RecycleOrderMapper">
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
<resultMap id="BaseResultMap" type="jnpf.entity.RecycleOrderEntity">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="recycle_station_id" jdbcType="VARCHAR" property="recycleStationId" />
|
||||
<result column="order_number" jdbcType="VARCHAR" property="orderNumber" />
|
||||
<result column="order_type_id" jdbcType="VARCHAR" property="orderTypeId" />
|
||||
<result column="order_amount" jdbcType="DECIMAL" property="orderAmount" />
|
||||
<result column="order_client_status_id" jdbcType="VARCHAR" property="orderClientStatusId" />
|
||||
<result column="order_staffs_status_id" jdbcType="VARCHAR" property="orderStaffsStatusId" />
|
||||
<result column="receive_period" jdbcType="INTEGER" property="receivePeriod" />
|
||||
<result column="client_id" jdbcType="VARCHAR" property="clientId" />
|
||||
<result column="client_name" jdbcType="VARCHAR" property="clientName" />
|
||||
<result column="client_mobile" jdbcType="VARCHAR" property="clientMobile" />
|
||||
<result column="creator_user_id" jdbcType="VARCHAR" property="creatorUserId" />
|
||||
<result column="creator_time" jdbcType="TIMESTAMP" property="creatorTime" />
|
||||
<result column="recycle_address" jdbcType="VARCHAR" property="recycleAddress" />
|
||||
<result column="appointment_time_start" jdbcType="TIMESTAMP" property="appointmentTimeStart" />
|
||||
<result column="appointment_time_end" jdbcType="TIMESTAMP" property="appointmentTimeEnd" />
|
||||
<result column="staffs_id" jdbcType="VARCHAR" property="staffsId" />
|
||||
<result column="staffs_name" jdbcType="VARCHAR" property="staffsName" />
|
||||
<result column="consult_time_start" jdbcType="TIMESTAMP" property="consultTimeStart" />
|
||||
<result column="consult_time_end" jdbcType="TIMESTAMP" property="consultTimeEnd" />
|
||||
<result column="receive_time" jdbcType="TIMESTAMP" property="receiveTime" />
|
||||
<result column="settle_time" jdbcType="TIMESTAMP" property="settleTime" />
|
||||
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
||||
<result column="star_score" jdbcType="INTEGER" property="starScore" />
|
||||
<result column="comment" jdbcType="VARCHAR" property="comment" />
|
||||
<result column="comment_pics" jdbcType="VARCHAR" property="commentPics" />
|
||||
<result column="response_star" jdbcType="INTEGER" property="responseStar" />
|
||||
<result column="attitude_star" jdbcType="INTEGER" property="attitudeStar" />
|
||||
<result column="price_star" jdbcType="INTEGER" property="priceStar" />
|
||||
<result column="is_user_deleted" jdbcType="INTEGER" property="isUserDeleted" />
|
||||
<result column="is_deleted" jdbcType="INTEGER" property="isDeleted" />
|
||||
<result column="undefined1" jdbcType="VARCHAR" property="undefined1" />
|
||||
<result column="undefined2" jdbcType="VARCHAR" property="undefined2" />
|
||||
<result column="undefined3" jdbcType="VARCHAR" property="undefined3" />
|
||||
<result column="undefined4" jdbcType="VARCHAR" property="undefined4" />
|
||||
<result column="f_flow_id" jdbcType="VARCHAR" property="flowId" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, recycle_station_id, order_number, order_type_id, order_amount, order_client_status_id,
|
||||
order_staffs_status_id, receive_period, client_id, client_name, client_mobile, creator_user_id,
|
||||
creator_time, recycle_address, appointment_time_start, appointment_time_end, staffs_id,
|
||||
staffs_name, consult_time_start, consult_time_end, receive_time, settle_time, remark,
|
||||
star_score, comment, comment_pics, response_star, attitude_star, price_star, is_user_deleted,
|
||||
is_deleted, undefined1, undefined2, undefined3, undefined4, f_flow_id
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from nx_recycle_order
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from nx_recycle_order
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<insert id="insert" parameterType="jnpf.entity.RecycleOrderEntity">
|
||||
insert into nx_recycle_order (id, recycle_station_id, order_number,
|
||||
order_type_id, order_amount, order_client_status_id,
|
||||
order_staffs_status_id, receive_period, client_id,
|
||||
client_name, client_mobile, creator_user_id,
|
||||
creator_time, recycle_address, appointment_time_start,
|
||||
appointment_time_end, staffs_id, staffs_name,
|
||||
consult_time_start, consult_time_end, receive_time,
|
||||
settle_time, remark, star_score,
|
||||
comment, comment_pics, response_star,
|
||||
attitude_star, price_star, is_user_deleted,
|
||||
is_deleted, undefined1, undefined2,
|
||||
undefined3, undefined4, f_flow_id
|
||||
)
|
||||
values (#{id,jdbcType=VARCHAR}, #{recycleStationId,jdbcType=VARCHAR}, #{orderNumber,jdbcType=VARCHAR},
|
||||
#{orderTypeId,jdbcType=VARCHAR}, #{orderAmount,jdbcType=DECIMAL}, #{orderClientStatusId,jdbcType=VARCHAR},
|
||||
#{orderStaffsStatusId,jdbcType=VARCHAR}, #{receivePeriod,jdbcType=INTEGER}, #{clientId,jdbcType=VARCHAR},
|
||||
#{clientName,jdbcType=VARCHAR}, #{clientMobile,jdbcType=VARCHAR}, #{creatorUserId,jdbcType=VARCHAR},
|
||||
#{creatorTime,jdbcType=TIMESTAMP}, #{recycleAddress,jdbcType=VARCHAR}, #{appointmentTimeStart,jdbcType=TIMESTAMP},
|
||||
#{appointmentTimeEnd,jdbcType=TIMESTAMP}, #{staffsId,jdbcType=VARCHAR}, #{staffsName,jdbcType=VARCHAR},
|
||||
#{consultTimeStart,jdbcType=TIMESTAMP}, #{consultTimeEnd,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP},
|
||||
#{settleTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{starScore,jdbcType=INTEGER},
|
||||
#{comment,jdbcType=VARCHAR}, #{commentPics,jdbcType=VARCHAR}, #{responseStar,jdbcType=INTEGER},
|
||||
#{attitudeStar,jdbcType=INTEGER}, #{priceStar,jdbcType=INTEGER}, #{isUserDeleted,jdbcType=INTEGER},
|
||||
#{isDeleted,jdbcType=INTEGER}, #{undefined1,jdbcType=VARCHAR}, #{undefined2,jdbcType=VARCHAR},
|
||||
#{undefined3,jdbcType=VARCHAR}, #{undefined4,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="jnpf.entity.RecycleOrderEntity">
|
||||
insert into nx_recycle_order
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="recycleStationId != null">
|
||||
recycle_station_id,
|
||||
</if>
|
||||
<if test="orderNumber != null">
|
||||
order_number,
|
||||
</if>
|
||||
<if test="orderTypeId != null">
|
||||
order_type_id,
|
||||
</if>
|
||||
<if test="orderAmount != null">
|
||||
order_amount,
|
||||
</if>
|
||||
<if test="orderClientStatusId != null">
|
||||
order_client_status_id,
|
||||
</if>
|
||||
<if test="orderStaffsStatusId != null">
|
||||
order_staffs_status_id,
|
||||
</if>
|
||||
<if test="receivePeriod != null">
|
||||
receive_period,
|
||||
</if>
|
||||
<if test="clientId != null">
|
||||
client_id,
|
||||
</if>
|
||||
<if test="clientName != null">
|
||||
client_name,
|
||||
</if>
|
||||
<if test="clientMobile != null">
|
||||
client_mobile,
|
||||
</if>
|
||||
<if test="creatorUserId != null">
|
||||
creator_user_id,
|
||||
</if>
|
||||
<if test="creatorTime != null">
|
||||
creator_time,
|
||||
</if>
|
||||
<if test="recycleAddress != null">
|
||||
recycle_address,
|
||||
</if>
|
||||
<if test="appointmentTimeStart != null">
|
||||
appointment_time_start,
|
||||
</if>
|
||||
<if test="appointmentTimeEnd != null">
|
||||
appointment_time_end,
|
||||
</if>
|
||||
<if test="staffsId != null">
|
||||
staffs_id,
|
||||
</if>
|
||||
<if test="staffsName != null">
|
||||
staffs_name,
|
||||
</if>
|
||||
<if test="consultTimeStart != null">
|
||||
consult_time_start,
|
||||
</if>
|
||||
<if test="consultTimeEnd != null">
|
||||
consult_time_end,
|
||||
</if>
|
||||
<if test="receiveTime != null">
|
||||
receive_time,
|
||||
</if>
|
||||
<if test="settleTime != null">
|
||||
settle_time,
|
||||
</if>
|
||||
<if test="remark != null">
|
||||
remark,
|
||||
</if>
|
||||
<if test="starScore != null">
|
||||
star_score,
|
||||
</if>
|
||||
<if test="comment != null">
|
||||
comment,
|
||||
</if>
|
||||
<if test="commentPics != null">
|
||||
comment_pics,
|
||||
</if>
|
||||
<if test="responseStar != null">
|
||||
response_star,
|
||||
</if>
|
||||
<if test="attitudeStar != null">
|
||||
attitude_star,
|
||||
</if>
|
||||
<if test="priceStar != null">
|
||||
price_star,
|
||||
</if>
|
||||
<if test="isUserDeleted != null">
|
||||
is_user_deleted,
|
||||
</if>
|
||||
<if test="isDeleted != null">
|
||||
is_deleted,
|
||||
</if>
|
||||
<if test="undefined1 != null">
|
||||
undefined1,
|
||||
</if>
|
||||
<if test="undefined2 != null">
|
||||
undefined2,
|
||||
</if>
|
||||
<if test="undefined3 != null">
|
||||
undefined3,
|
||||
</if>
|
||||
<if test="undefined4 != null">
|
||||
undefined4,
|
||||
</if>
|
||||
<if test="flowId != null">
|
||||
f_flow_id,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="recycleStationId != null">
|
||||
#{recycleStationId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderNumber != null">
|
||||
#{orderNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderTypeId != null">
|
||||
#{orderTypeId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderAmount != null">
|
||||
#{orderAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="orderClientStatusId != null">
|
||||
#{orderClientStatusId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderStaffsStatusId != null">
|
||||
#{orderStaffsStatusId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="receivePeriod != null">
|
||||
#{receivePeriod,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="clientId != null">
|
||||
#{clientId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="clientName != null">
|
||||
#{clientName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="clientMobile != null">
|
||||
#{clientMobile,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="creatorUserId != null">
|
||||
#{creatorUserId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="creatorTime != null">
|
||||
#{creatorTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="recycleAddress != null">
|
||||
#{recycleAddress,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="appointmentTimeStart != null">
|
||||
#{appointmentTimeStart,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="appointmentTimeEnd != null">
|
||||
#{appointmentTimeEnd,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="staffsId != null">
|
||||
#{staffsId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="staffsName != null">
|
||||
#{staffsName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="consultTimeStart != null">
|
||||
#{consultTimeStart,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="consultTimeEnd != null">
|
||||
#{consultTimeEnd,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="receiveTime != null">
|
||||
#{receiveTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="settleTime != null">
|
||||
#{settleTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="remark != null">
|
||||
#{remark,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="starScore != null">
|
||||
#{starScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="comment != null">
|
||||
#{comment,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="commentPics != null">
|
||||
#{commentPics,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="responseStar != null">
|
||||
#{responseStar,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="attitudeStar != null">
|
||||
#{attitudeStar,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="priceStar != null">
|
||||
#{priceStar,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="isUserDeleted != null">
|
||||
#{isUserDeleted,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="isDeleted != null">
|
||||
#{isDeleted,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="undefined1 != null">
|
||||
#{undefined1,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="undefined2 != null">
|
||||
#{undefined2,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="undefined3 != null">
|
||||
#{undefined3,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="undefined4 != null">
|
||||
#{undefined4,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="flowId != null">
|
||||
#{flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="jnpf.entity.RecycleOrderEntity">
|
||||
update nx_recycle_order
|
||||
<set>
|
||||
<if test="recycleStationId != null">
|
||||
recycle_station_id = #{recycleStationId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderNumber != null">
|
||||
order_number = #{orderNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderTypeId != null">
|
||||
order_type_id = #{orderTypeId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderAmount != null">
|
||||
order_amount = #{orderAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="orderClientStatusId != null">
|
||||
order_client_status_id = #{orderClientStatusId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderStaffsStatusId != null">
|
||||
order_staffs_status_id = #{orderStaffsStatusId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="receivePeriod != null">
|
||||
receive_period = #{receivePeriod,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="clientId != null">
|
||||
client_id = #{clientId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="clientName != null">
|
||||
client_name = #{clientName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="clientMobile != null">
|
||||
client_mobile = #{clientMobile,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="creatorUserId != null">
|
||||
creator_user_id = #{creatorUserId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="creatorTime != null">
|
||||
creator_time = #{creatorTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="recycleAddress != null">
|
||||
recycle_address = #{recycleAddress,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="appointmentTimeStart != null">
|
||||
appointment_time_start = #{appointmentTimeStart,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="appointmentTimeEnd != null">
|
||||
appointment_time_end = #{appointmentTimeEnd,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="staffsId != null">
|
||||
staffs_id = #{staffsId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="staffsName != null">
|
||||
staffs_name = #{staffsName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="consultTimeStart != null">
|
||||
consult_time_start = #{consultTimeStart,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="consultTimeEnd != null">
|
||||
consult_time_end = #{consultTimeEnd,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="receiveTime != null">
|
||||
receive_time = #{receiveTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="settleTime != null">
|
||||
settle_time = #{settleTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="remark != null">
|
||||
remark = #{remark,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="starScore != null">
|
||||
star_score = #{starScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="comment != null">
|
||||
comment = #{comment,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="commentPics != null">
|
||||
comment_pics = #{commentPics,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="responseStar != null">
|
||||
response_star = #{responseStar,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="attitudeStar != null">
|
||||
attitude_star = #{attitudeStar,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="priceStar != null">
|
||||
price_star = #{priceStar,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="isUserDeleted != null">
|
||||
is_user_deleted = #{isUserDeleted,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="isDeleted != null">
|
||||
is_deleted = #{isDeleted,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="undefined1 != null">
|
||||
undefined1 = #{undefined1,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="undefined2 != null">
|
||||
undefined2 = #{undefined2,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="undefined3 != null">
|
||||
undefined3 = #{undefined3,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="undefined4 != null">
|
||||
undefined4 = #{undefined4,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="flowId != null">
|
||||
f_flow_id = #{flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="jnpf.entity.RecycleOrderEntity">
|
||||
update nx_recycle_order
|
||||
set recycle_station_id = #{recycleStationId,jdbcType=VARCHAR},
|
||||
order_number = #{orderNumber,jdbcType=VARCHAR},
|
||||
order_type_id = #{orderTypeId,jdbcType=VARCHAR},
|
||||
order_amount = #{orderAmount,jdbcType=DECIMAL},
|
||||
order_client_status_id = #{orderClientStatusId,jdbcType=VARCHAR},
|
||||
order_staffs_status_id = #{orderStaffsStatusId,jdbcType=VARCHAR},
|
||||
receive_period = #{receivePeriod,jdbcType=INTEGER},
|
||||
client_id = #{clientId,jdbcType=VARCHAR},
|
||||
client_name = #{clientName,jdbcType=VARCHAR},
|
||||
client_mobile = #{clientMobile,jdbcType=VARCHAR},
|
||||
creator_user_id = #{creatorUserId,jdbcType=VARCHAR},
|
||||
creator_time = #{creatorTime,jdbcType=TIMESTAMP},
|
||||
recycle_address = #{recycleAddress,jdbcType=VARCHAR},
|
||||
appointment_time_start = #{appointmentTimeStart,jdbcType=TIMESTAMP},
|
||||
appointment_time_end = #{appointmentTimeEnd,jdbcType=TIMESTAMP},
|
||||
staffs_id = #{staffsId,jdbcType=VARCHAR},
|
||||
staffs_name = #{staffsName,jdbcType=VARCHAR},
|
||||
consult_time_start = #{consultTimeStart,jdbcType=TIMESTAMP},
|
||||
consult_time_end = #{consultTimeEnd,jdbcType=TIMESTAMP},
|
||||
receive_time = #{receiveTime,jdbcType=TIMESTAMP},
|
||||
settle_time = #{settleTime,jdbcType=TIMESTAMP},
|
||||
remark = #{remark,jdbcType=VARCHAR},
|
||||
star_score = #{starScore,jdbcType=INTEGER},
|
||||
comment = #{comment,jdbcType=VARCHAR},
|
||||
comment_pics = #{commentPics,jdbcType=VARCHAR},
|
||||
response_star = #{responseStar,jdbcType=INTEGER},
|
||||
attitude_star = #{attitudeStar,jdbcType=INTEGER},
|
||||
price_star = #{priceStar,jdbcType=INTEGER},
|
||||
is_user_deleted = #{isUserDeleted,jdbcType=INTEGER},
|
||||
is_deleted = #{isDeleted,jdbcType=INTEGER},
|
||||
undefined1 = #{undefined1,jdbcType=VARCHAR},
|
||||
undefined2 = #{undefined2,jdbcType=VARCHAR},
|
||||
undefined3 = #{undefined3,jdbcType=VARCHAR},
|
||||
undefined4 = #{undefined4,jdbcType=VARCHAR},
|
||||
f_flow_id = #{flowId,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
@ -0,0 +1,9 @@
|
||||
package jnpf.service;
|
||||
|
||||
import jnpf.entity.RecycleOrderEntity;
|
||||
|
||||
public interface NxRecycleOrderService {
|
||||
|
||||
int updateByPrimaryKeySelective(RecycleOrderEntity row);
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package jnpf.service.impl;
|
||||
|
||||
import jnpf.entity.RecycleOrderEntity;
|
||||
import jnpf.mapper.RecycleOrderMapper;
|
||||
import jnpf.service.NxRecycleOrderService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Service
|
||||
public class NxRecycleOrderServiceImpl implements NxRecycleOrderService {
|
||||
@Resource
|
||||
private RecycleOrderMapper recycleOrderMapper;
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKeySelective(RecycleOrderEntity row) {
|
||||
return recycleOrderMapper.updateByPrimaryKeySelective(row);
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue