Commit bb0e2382 authored by neo's avatar neo

[bugfix] switch data import mapper to vat

parent 968ace91
...@@ -13,7 +13,7 @@ import pwc.taxtech.atms.constant.enums.EnumValidationType; ...@@ -13,7 +13,7 @@ import pwc.taxtech.atms.constant.enums.EnumValidationType;
import pwc.taxtech.atms.constant.enums.ProjectImportDataType; import pwc.taxtech.atms.constant.enums.ProjectImportDataType;
import pwc.taxtech.atms.constant.enums.ServiceType; import pwc.taxtech.atms.constant.enums.ServiceType;
import pwc.taxtech.atms.constant.enums.VatImportType; import pwc.taxtech.atms.constant.enums.VatImportType;
import pwc.taxtech.atms.dao.DataImportMapper; import pwc.taxtech.atms.vat.dao.DataImportMapper;
import pwc.taxtech.atms.dao.EnterpriseAccountMapper; import pwc.taxtech.atms.dao.EnterpriseAccountMapper;
import pwc.taxtech.atms.dao.ProjectMapper; import pwc.taxtech.atms.dao.ProjectMapper;
import pwc.taxtech.atms.dto.OperationResultDto; import pwc.taxtech.atms.dto.OperationResultDto;
......
package pwc.taxtech.atms.dao; package pwc.taxtech.atms.vat.dao;
import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update; import org.apache.ibatis.annotations.Update;
import pwc.taxtech.atms.MyMapper; import pwc.taxtech.atms.MyVatMapper;
@Mapper @Mapper
public interface DataImportMapper extends MyMapper { public interface DataImportMapper extends MyVatMapper {
@Delete("DELETE FROM ${tbName} WHERE Period =#{period}") @Delete("DELETE FROM ${tbName} WHERE Period =#{period}")
Integer deleteByNameAndPeriod(@Param("tbName") String tbName, @Param("period") Integer period); Integer deleteByNameAndPeriod(@Param("tbName") String tbName, @Param("period") Integer period);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment