|
|
@ -2,6 +2,7 @@ package com.ruoyi.tcZz.service.impl;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
|
|
|
|
|
import com.ruoyi.tcZz.domain.TcWljg;
|
|
|
|
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.ruoyi.tcZz.mapper.TcCyMapper;
|
|
|
|
import com.ruoyi.tcZz.mapper.TcCyMapper;
|
|
|
@ -93,4 +94,17 @@ public class TcCyServiceImpl implements ITcCyService
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return tcCyMapper.deleteTcCyById(id);
|
|
|
|
return tcCyMapper.deleteTcCyById(id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public String importUser(List<TcCy> tcCyList) {
|
|
|
|
|
|
|
|
StringBuilder successMsg = new StringBuilder();
|
|
|
|
|
|
|
|
if (!tcCyList.isEmpty()) {
|
|
|
|
|
|
|
|
for (TcCy tcCy : tcCyList) {
|
|
|
|
|
|
|
|
tcCyMapper.insertTcCy(tcCy);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
successMsg.append("导入成功");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return successMsg.toString();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|