md
This commit is contained in:
parent
12b09b8485
commit
7d6d2c62d8
@ -865,4 +865,8 @@ public class EmisSettleBillServiceImpl extends EmisBaseService implements IEmisS
|
|||||||
return emisSettleBillMapper.deleteEmisSettleBillById(id);
|
return emisSettleBillMapper.deleteEmisSettleBillById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@ import java.util.List;
|
|||||||
|
|
||||||
import com.xdadan.erp.emis.domain.EmisTmsSiteBatchDtl;
|
import com.xdadan.erp.emis.domain.EmisTmsSiteBatchDtl;
|
||||||
import com.xdadan.erp.emis.mapper.EmisTmsSiteBatchDtlMapper;
|
import com.xdadan.erp.emis.mapper.EmisTmsSiteBatchDtlMapper;
|
||||||
|
import com.xdadan.erp.emis.service.EmisBaseService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import com.xdadan.erp.emis.domain.EmisTmsSiteBatch;
|
import com.xdadan.erp.emis.domain.EmisTmsSiteBatch;
|
||||||
@ -29,7 +30,7 @@ import org.springframework.util.CollectionUtils;
|
|||||||
* @date 2024-03-01 08:54:56
|
* @date 2024-03-01 08:54:56
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class EmisTmsSiteBatchServiceImpl implements IEmisTmsSiteBatchService
|
public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmisTmsSiteBatchService
|
||||||
{
|
{
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmisTmsSiteBatchMapper emisTmsSiteBatchMapper;
|
private EmisTmsSiteBatchMapper emisTmsSiteBatchMapper;
|
||||||
@ -71,9 +72,6 @@ public class EmisTmsSiteBatchServiceImpl implements IEmisTmsSiteBatchService
|
|||||||
@Override
|
@Override
|
||||||
public int insertEmisTmsSiteBatch(EmisTmsSiteBatch emisTmsSiteBatch)
|
public int insertEmisTmsSiteBatch(EmisTmsSiteBatch emisTmsSiteBatch)
|
||||||
{
|
{
|
||||||
// 插入主批次数据
|
|
||||||
emisTmsSiteBatchMapper.insertEmisTmsSiteBatch(emisTmsSiteBatch);
|
|
||||||
|
|
||||||
// 插入明细数据
|
// 插入明细数据
|
||||||
if(!CollectionUtils.isEmpty(emisTmsSiteBatch.getBatchDtlList())){
|
if(!CollectionUtils.isEmpty(emisTmsSiteBatch.getBatchDtlList())){
|
||||||
for (EmisTmsSiteBatchDtl itemDtl:emisTmsSiteBatch.getBatchDtlList()) {
|
for (EmisTmsSiteBatchDtl itemDtl:emisTmsSiteBatch.getBatchDtlList()) {
|
||||||
@ -82,6 +80,9 @@ public class EmisTmsSiteBatchServiceImpl implements IEmisTmsSiteBatchService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 插入主批次数据
|
||||||
|
emisTmsSiteBatchMapper.insertEmisTmsSiteBatch(emisTmsSiteBatch);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -87,9 +87,9 @@
|
|||||||
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
||||||
<if test="tenantId != null and tenantId != ''"> and tenant_id like concat('%', #{tenantId}, '%')</if>
|
<if test="tenantId != null and tenantId != ''"> and tenant_id like concat('%', #{tenantId}, '%')</if>
|
||||||
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
|
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
|
||||||
<if test="createBy != null and createBy != ''"> and create_by like concat('%', #{createBy}, '%')</if>
|
<if test="createBy != null and createBy != ''"> and create_by=#{createBy}</if>
|
||||||
<if test="createTime != null "> and create_time = #{createTime}</if>
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||||
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>
|
<if test="updateBy != null and updateBy != ''"> and update_by=#{updateBy}</if>
|
||||||
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||||
<if test="createSite != null and createSite != ''"> and create_site=#{createSite}</if>
|
<if test="createSite != null and createSite != ''"> and create_site=#{createSite}</if>
|
||||||
<if test="updateSite != null and updateSite != ''"> and update_site=#{updateSite}</if>
|
<if test="updateSite != null and updateSite != ''"> and update_site=#{updateSite}</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user