2023年6月9日 修复update错误
This commit is contained in:
parent
5310e02ebb
commit
003ada4878
|
@ -3,7 +3,7 @@
|
|||
<mapper namespace="org.jeecg.modules.kc.grab.imports.mapper.XxhbtkxxMapper">
|
||||
|
||||
<update id="updateToKeTang">
|
||||
UPDATE xxhbtkxx tk, ketangbiao kt
|
||||
UPDATE xxhbtkxx tk, kc_ketangbiao kt
|
||||
SET kt.sftk = tk.tklx, kt.tkyy = tk.tksy, kt.bkjh = tk.bkjh
|
||||
WHERE
|
||||
STR_TO_DATE( tk.skrq, '%Y%m%d' ) = kt.skrq
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.jeecg.modules.kc.grab.imports.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
||||
|
@ -31,6 +32,7 @@ public class XxhbtkxxServiceImpl extends ServiceImpl<XxhbtkxxMapper, Xxhbtkxx> i
|
|||
|
||||
@Override
|
||||
@Transactional(rollbackFor = {Exception.class})
|
||||
@InterceptorIgnore(tenantLine = "true")
|
||||
public boolean syncList(Collection<Xxhbtkxx> entityList, boolean isDelete) {
|
||||
QueryWrapper dqw = new QueryWrapper();
|
||||
if(isDelete){
|
||||
|
|
Loading…
Reference in New Issue