a.id as id,
a.name as name,
a.samplePath as samplePath,
a.remark as remark,
a.updateTime as updateTime,
a.updateUser as updateUser,
a.createTime as createTime,
a.createUser as createUser,
a.preViewPath as preViewPath,
a.platformSn as platformSn,
b.id as id,b.name as name,b.docId as docId,b.templatePath as templatePath,b.remark as remark,b.updateTime as updateTime,b.updateUser as updateUser,b.createTime as createTime,b.createUser as createUser,
insert into mortals_xhx_doc_baseinfo (name,samplePath,remark,updateTime,updateUser,createTime,createUser,preViewPath,platformSn) VALUES (#{name},#{samplePath},#{remark},#{updateTime},#{updateUser},#{createTime},#{createUser},#{preViewPath},#{platformSn})
insert into mortals_xhx_doc_baseinfo (name,samplePath,remark,updateTime,updateUser,createTime,createUser,preViewPath,platformSn) VALUES (#{item.name},#{item.samplePath},#{item.remark},#{item.updateTime},#{item.updateUser},#{item.createTime},#{item.createUser},#{item.preViewPath},#{item.platformSn})
update mortals_xhx_doc_baseinfo as a set a.name=#{data.name}, a.samplePath=#{data.samplePath}, a.remark=#{data.remark}, a.updateTime=#{data.updateTime}, a.updateUser=#{data.updateUser}, a.createTime=#{data.createTime}, a.createUser=#{data.createUser}, a.preViewPath=#{data.preViewPath}, a.platformSn=#{data.platformSn}, where
update mortals_xhx_doc_baseinfo as a when a.id=#{item.id} then #{item.name} when a.id=#{item.id} then #{item.samplePath} when a.id=#{item.id} then #{item.remark} when a.id=#{item.id} then #{item.updateTime} when a.id=#{item.id} then #{item.updateUser} when a.id=#{item.id} then #{item.createTime} when a.id=#{item.id} then #{item.createUser} when a.id=#{item.id} then #{item.preViewPath} when a.id=#{item.id} then #{item.platformSn} where id in #{item.id}
select from mortals_xhx_doc_baseinfo as a where a.id=#{condition.id}
delete a.* from mortals_xhx_doc_baseinfo as a where a.id=#{condition.id}
delete from mortals_xhx_doc_baseinfo where id in #{item}
delete a.* from mortals_xhx_doc_baseinfo as a where
select from mortals_xhx_doc_baseinfo as a where
select from mortals_xhx_doc_template as b where b.docId = #{id}
select count(1) from mortals_xhx_doc_baseinfo as a where
and
and
${_conditionType_} a.id=#{${_conditionParam_}.id}
${_conditionType_} a.id = #{${_conditionParam_}.id}
${_conditionType_} a.id is null
${_conditionType_} a.id in #{item}
${_conditionType_} a.id >= #{${_conditionParam_}.idStart}
${_conditionType_} a.id <= #{${_conditionParam_}.idEnd}
${_conditionType_} a.name like #{${_conditionParam_}.name}
${_conditionType_} a.name is null
${_conditionType_} a.name in #{item}
${_conditionType_} a.samplePath like #{${_conditionParam_}.samplePath}
${_conditionType_} a.samplePath is null
${_conditionType_} a.samplePath in #{item}
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
${_conditionType_} a.remark is null
${_conditionType_} a.remark in #{item}
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
${_conditionType_} a.updateTime is null
${_conditionType_} a.updateTime >= STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
${_conditionType_} a.updateTime <= STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
${_conditionType_} a.updateUser like #{${_conditionParam_}.updateUser}
${_conditionType_} a.updateUser is null
${_conditionType_} a.updateUser in #{item}
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
${_conditionType_} a.createTime is null
${_conditionType_} a.createTime >= STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
${_conditionType_} a.createTime <= STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
${_conditionType_} a.createUser like #{${_conditionParam_}.createUser}
${_conditionType_} a.createUser is null
${_conditionType_} a.createUser in #{item}
${_conditionType_} a.preViewPath like #{${_conditionParam_}.preViewPath}
${_conditionType_} a.preViewPath is null
${_conditionType_} a.preViewPath in #{item}
${_conditionType_} a.platformSn like #{${_conditionParam_}.platformSn}
${_conditionType_} a.platformSn is null
${_conditionType_} a.platformSn in #{item}
order by ${item.colName} ${item.sortKind}
order by a.id DESC , a.name DESC , a.samplePath DESC , a.remark DESC , a.updateTime DESC , a.updateUser DESC , a.createTime DESC , a.createUser DESC , a.preViewPath DESC , a.platformSn DESC ,
GROUP BY ${item}