<?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="cn.la.finance.ws.dao.BaffleConfDoMapper">
<resultMap id="BaseResultMap" type="cn.la.finance.ws.dao.model.BaffleConfDo">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="baffle_trans_code" jdbcType="VARCHAR" property="baffleTransCode" />
<result column="scene" jdbcType="VARCHAR" property="scene" />
<result column="acct_no" jdbcType="VARCHAR" property="acctNo" />
<result column="status" jdbcType="CHAR" property="status" />
<result column="remark" jdbcType="VARCHAR" property="remark" />
<result column="creator" jdbcType="VARCHAR" property="creator" />
<result column="updator" jdbcType="VARCHAR" property="updator" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap>
<sql id="Base_Column_List">
id, baffle_trans_code, scene, acct_no, status, remark, creator, updator, create_time,
update_time
</sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from baffle_conf
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from baffle_conf
where id = #{id,jdbcType=BIGINT}
</delete>
<insert id="insert" parameterType="cn.la.finance.ws.dao.model.BaffleConfDo">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into baffle_conf (baffle_trans_code, scene, acct_no,
status, remark, creator,
updator, create_time, update_time
)
values (#{baffleTransCode,jdbcType=VARCHAR}, #{scene,jdbcType=VARCHAR}, #{acctNo,jdbcType=VARCHAR},
#{status,jdbcType=CHAR}, #{remark,jdbcType=VARCHAR}, #{creator,jdbcType=VARCHAR},
#{updator,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert id="insertSelective" parameterType="cn.la.finance.ws.dao.model.BaffleConfDo">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into baffle_conf
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="baffleTransCode != null">
baffle_trans_code,
</if>
<if test="scene != null">
scene,
</if>
<if test="acctNo != null">
acct_no,
</if>
<if test="status != null">
status,
</if>
<if test="remark != null">
remark,
</if>
<if test="creator != null">
creator,
</if>
<if test="updator != null">
updator,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateTime != null">
update_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="baffleTransCode != null">
#{baffleTransCode,jdbcType=VARCHAR},
</if>
<if test="scene != null">
#{scene,jdbcType=VARCHAR},
</if>
<if test="acctNo != null">
#{acctNo,jdbcType=VARCHAR},
</if>
<if test="status != null">
#{status,jdbcType=CHAR},
</if>
<if test="remark != null">
#{remark,jdbcType=VARCHAR},
</if>
<if test="creator != null">
#{creator,jdbcType=VARCHAR},
</if>
<if test="updator != null">
#{updator,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="cn.la.finance.ws.dao.model.BaffleConfDo">
update baffle_conf
<set>
<if test="baffleTransCode != null">
baffle_trans_code = #{baffleTransCode,jdbcType=VARCHAR},
</if>
<if test="scene != null">
scene = #{scene,jdbcType=VARCHAR},
</if>
<if test="acctNo != null">
acct_no = #{acctNo,jdbcType=VARCHAR},
</if>
<if test="status != null">
status = #{status,jdbcType=CHAR},
</if>
<if test="remark != null">
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="creator != null">
creator = #{creator,jdbcType=VARCHAR},
</if>
<if test="updator != null">
updator = #{updator,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="cn.la.finance.ws.dao.model.BaffleConfDo">
update baffle_conf
set baffle_trans_code = #{baffleTransCode,jdbcType=VARCHAR},
scene = #{scene,jdbcType=VARCHAR},
acct_no = #{acctNo,jdbcType=VARCHAR},
status = #{status,jdbcType=CHAR},
remark = #{remark,jdbcType=VARCHAR},
creator = #{creator,jdbcType=VARCHAR},
updator = #{updator,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
没有合适的资源?快使用搜索试试~ 我知道了~
ws.rar_spring app_spring mybatis
共99个文件
jar:81个
class:8个
xml:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 109 浏览量
2022-09-20
10:10:54
上传
评论
收藏 49.61MB RAR 举报
温馨提示
一个由Spring + mybatis合成的APP后台接口框架
资源推荐
资源详情
资源评论
收起资源包目录
ws.rar (99个子文件)
META-INF
MANIFEST.MF 130B
WEB-INF
web.xml 2KB
classes
client-beans.xml 2KB
app-config.properties 506B
log4j2.xml 2KB
cn
la
finance
ws
client
UserManageClient.class 1KB
dao
BaffleConfDoMapper.class 523B
model
BaffleConfDo.class 3KB
common
CustomizedPropertyConfigurer.class 2KB
SpringContextUtil.class 1KB
service
UserManageService.class 248B
impl
UserManageServiceImpl.class 2KB
mybatis
MyBatisGeneratorTool.class 3KB
mappers
BaffleConfDoMapper.xml 5KB
spring
spring-bean.xml 1KB
spring-service.xml 1KB
applicationContext.xml 4KB
generatorConfig.xml 3KB
lib
mybatis-generator-core-1.3.2.jar 504KB
sisu-guava-0.9.9.jar 1.44MB
maven-plugin-api-3.0.4.jar 48KB
sisu-inject-bean-2.3.0.jar 282KB
asm-3.3.1.jar 43KB
maven-compat-3.0-alpha-2.jar 232KB
wstx-asl-3.2.6.jar 508KB
commons-codec-1.10.jar 278KB
fastjson-1.2.32.jar 455KB
velocity-1.4.jar 353KB
geronimo-javamail_1.4_spec-1.7.1.jar 218KB
log4j-core-2.6.2.jar 1.14MB
geronimo-servlet_3.0_spec-1.0.jar 94KB
mybatis-3.2.5.jar 700KB
aopalliance-1.0.jar 4KB
plexus-component-annotations-1.5.5.jar 4KB
maven-project-3.0-alpha-2.jar 139KB
spring-jms-4.1.3.RELEASE.jar 263KB
cxf-rt-bindings-soap-2.7.5.jar 197KB
commons-io-2.0.1.jar 156KB
maven-model-3.0.4.jar 160KB
spring-expression-4.1.3.RELEASE.jar 253KB
cxf-rt-transports-http-jetty-2.7.5.jar 94KB
spring-tx-4.1.3.RELEASE.jar 246KB
cxf-rt-ws-addr-2.7.5.jar 77KB
spring-jdbc-4.1.3.RELEASE.jar 417KB
neethi-3.0.2.jar 70KB
commons-net-2.0.jar 192KB
plexus-classworlds-2.4.jar 46KB
sisu-guice-3.1.0-no_aop.jar 349KB
spring-beans-4.1.3.RELEASE.jar 691KB
spring-core-4.1.3.RELEASE.jar 983KB
wagon-provider-api-1.0-beta-4.jar 51KB
plexus-container-default-1.0-beta-3.0.5.jar 204KB
spring-messaging-4.1.3.RELEASE.jar 281KB
wsdl4j-1.6.3.jar 182KB
log4j-slf4j-impl-2.6.2.jar 22KB
cxf-rt-databinding-jaxb-2.7.5.jar 118KB
xmlschema-core-2.0.3.jar 159KB
druid-1.0.11.jar 1.83MB
spring-aop-4.1.3.RELEASE.jar 351KB
model-builder-1.3.jar 35KB
xml-resolver-1.2.jar 82KB
quartz-2.2.3.jar 645KB
cxf-rt-frontend-simple-2.7.5.jar 65KB
spring-webmvc-4.1.3.RELEASE.jar 763KB
aspectjweaver-1.8.4.jar 1.78MB
google-collect-snapshot-20080530.jar 490KB
mybatis-spring-1.2.3.jar 50KB
mybatis-generator-maven-plugin-1.3.2.jar 17KB
commons-logging-api-1.1.jar 44KB
woodstox-core-asl-4.2.0.jar 471KB
sisu-inject-plexus-2.3.0.jar 200KB
jaxb-impl-2.2.6.jar 1.06MB
stax2-api-3.1.1.jar 178KB
spring-web-4.1.3.RELEASE.jar 697KB
cxf-rt-transports-http-2.7.5.jar 232KB
jetty-security-8.1.7.v20120910.jar 85KB
cxf-rt-bindings-xml-2.7.5.jar 38KB
commons-logging-1.2.jar 60KB
maven-project-builder-3.0-alpha-2.jar 165KB
velocity-dep-1.4.jar 506KB
cxf-api-2.7.5.jar 1.02MB
spring-context-support-4.1.3.RELEASE.jar 174KB
log4j-api-2.6.2.jar 194KB
gson-2.3.1.jar 206KB
cxf-rt-ws-policy-2.7.5.jar 200KB
cxf-rt-frontend-jaxws-2.7.5.jar 372KB
spring-context-4.1.3.RELEASE.jar 1003KB
commons-lang3-3.1.jar 308KB
plexus-utils-1.5.6.jar 245KB
xbean-reflect-3.4.jar 131KB
jsch-0.1.53.jar 274KB
spring-aspects-4.1.3.RELEASE.jar 55KB
maven-artifact-3.0.4.jar 51KB
slf4j-api-1.7.5.jar 25KB
stax-api-1.0.1.jar 26KB
plexus-interpolation-1.1.jar 35KB
mysql-connector-java-5.1.38.jar 961KB
c3p0-0.9.1.1.jar 594KB
cxf-rt-core-2.7.5.jar 394KB
共 99 条
- 1
资源评论
四散
- 粉丝: 54
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功