Commit 5d993a92 authored by neo's avatar neo

[dev] rename VAT reference java to Vat java

parent 0564b962
......@@ -38,10 +38,10 @@ public class SpringContextUtil implements ApplicationContextAware {
public static VatEnterpriseAccountDao vatEnterpriseAccountDao;
public static VatEnterpriseAccountMapper vatEnterpriseAccountMapper;
public static BalanceStdManualMapper balanceStdManualMapper;
public static OutputVATInvoiceMapper outputVATInvoiceMapper;
public static OutputVatInvoiceMapper outputVATInvoiceMapper;
public static PeriodTaxRuleSettingMapper periodTaxRuleSettingMapper;
public static InputVatInvoiceDao inputVatInvoiceDao;
public static InputVATInvoiceMapper inputVATInvoiceMapper;
public static InputVatInvoiceMapper inputVATInvoiceMapper;
public static AssetsListMapper assetsListMapper;
public static ProjectMapper projectMapper;
public static CellDataSourceMapper cellDataSourceMapper;
......@@ -79,10 +79,10 @@ public class SpringContextUtil implements ApplicationContextAware {
vatEnterpriseAccountDao = webApplicationContext.getBean(VatEnterpriseAccountDao.class);
vatEnterpriseAccountMapper = webApplicationContext.getBean(VatEnterpriseAccountMapper.class);
balanceStdManualMapper = webApplicationContext.getBean(BalanceStdManualMapper.class);
outputVATInvoiceMapper = webApplicationContext.getBean(OutputVATInvoiceMapper.class);
outputVATInvoiceMapper = webApplicationContext.getBean(OutputVatInvoiceMapper.class);
periodTaxRuleSettingMapper = webApplicationContext.getBean(PeriodTaxRuleSettingMapper.class);
inputVatInvoiceDao = webApplicationContext.getBean(InputVatInvoiceDao.class);
inputVATInvoiceMapper = webApplicationContext.getBean(InputVATInvoiceMapper.class);
inputVATInvoiceMapper = webApplicationContext.getBean(InputVatInvoiceMapper.class);
assetsListMapper = webApplicationContext.getBean(AssetsListMapper.class);
projectMapper = webApplicationContext.getBean(ProjectMapper.class);
cellDataSourceMapper = webApplicationContext.getBean(CellDataSourceMapper.class);
......
......@@ -18,7 +18,7 @@ import pwc.taxtech.atms.service.IdentityService;
import pwc.taxtech.atms.thirdparty.ExcelSheet;
import pwc.taxtech.atms.thirdparty.ExcelUtil;
import pwc.taxtech.atms.vat.dpo.InputInvoicePreviewQueryParam;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItem;
import pwc.taxtech.atms.vat.service.impl.InputInvoiceDataImportServiceImpl;
import javax.servlet.http.HttpServletResponse;
......@@ -114,7 +114,7 @@ public class InputInvoiceImportController {
excelSheetB.setHeaders(header2);
excelSheetB.setSheetName("sheetB");
List<InputVATInvoiceItem> inputInvoiceItemList = new ArrayList<>();
List<InputVatInvoiceItem> inputInvoiceItemList = new ArrayList<>();
for (InputVATInvoiceDto item : list) {
inputInvoiceItemList.addAll(inputInvoiceDataImportService.getInputInvoiceItemTreeViewData(item.getID()));
}
......
package pwc.taxtech.atms.dto.vatdto;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItem;
import java.util.List;
public class ImportInputInvoiceItemDto {
public List<InputVATInvoiceItem> InputInvoiceItemList;
public List<InputVatInvoiceItem> InputInvoiceItemList;
public int ImportType ;
}
package pwc.taxtech.atms.dto.vatdto;
import pwc.taxtech.atms.vat.entity.OutputVATInvoice;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.OutputVatInvoice;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem;
import java.util.List;
public class ImportOutputInvoiceDto {
public List<OutputVATInvoice> OutputInvoiceList ;
public List<OutputVATInvoiceItem> OutputInvoiceItemList ;
public List<OutputVatInvoice> OutputInvoiceList ;
public List<OutputVatInvoiceItem> OutputInvoiceItemList ;
public Integer ImportType ;
}
package pwc.taxtech.atms.dto.vatdto;
import pwc.taxtech.atms.constant.enums.EnumInvoiceType;
import pwc.taxtech.atms.vat.entity.InputVATInvoice;
import pwc.taxtech.atms.vat.entity.InputVatInvoice;
import java.math.BigDecimal;
import java.util.Date;
......@@ -139,8 +139,8 @@ public class InputVATInvoiceDto extends InputVATInvoiceBaseDto {
return EnumInvoiceType.values()[this.invoiceType].getName();
}
public InputVATInvoice extractInvoice(){
InputVATInvoice invoice = new InputVATInvoice();
public InputVatInvoice extractInvoice(){
InputVatInvoice invoice = new InputVatInvoice();
invoice.setID(getID());
invoice.setPeriodID(getPeriodID());
invoice.setInvoiceCode(getInvoiceCode());
......
......@@ -3,14 +3,14 @@ package pwc.taxtech.atms.dto.vatdto;
import lombok.Getter;
import lombok.Setter;
import pwc.taxtech.atms.vat.entity.GoodsMapping;
import pwc.taxtech.atms.vat.entity.InputVATInvoice;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVatInvoice;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItem;
@Setter
@Getter
public class InputVATInvoiceResultDto {
private String invoiceID;
private InputVATInvoice inputVATInvoice;
private InputVATInvoiceItem inputVATInvoiceItem;
private InputVatInvoice inputVATInvoice;
private InputVatInvoiceItem inputVATInvoiceItem;
private GoodsMapping goodsMapping;
}
......@@ -2,13 +2,13 @@ package pwc.taxtech.atms.dto.vatdto;
import lombok.Getter;
import lombok.Setter;
import pwc.taxtech.atms.vat.entity.OutputVATInvoice;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.OutputVatInvoice;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem;
@Getter
@Setter
public class OutputVATInvoiceDto {
private String invoiceID;
private OutputVATInvoice invoice;
private OutputVATInvoiceItem invoiceItem;
private OutputVatInvoice invoice;
private OutputVatInvoiceItem invoiceItem;
}
......@@ -3,21 +3,20 @@ package pwc.taxtech.atms.vat.dao;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pwc.taxtech.atms.vat.dao.InputVATInvoiceMapper;
import pwc.taxtech.atms.vat.entity.InputVATInvoice;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceExample;
import pwc.taxtech.atms.vat.entity.InputVatInvoice;
import pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample;
import java.util.List;
@Service
public class InputVatInvoiceDao {
@Autowired
InputVATInvoiceMapper inputVATInvoiceMapper;
InputVatInvoiceMapper inputVATInvoiceMapper;
public List<InputVATInvoice> getInputVATInvoice(Integer period, Integer invoiceType, String checkPass, String scanPass,String notPass) {
InputVATInvoiceExample example = new InputVATInvoiceExample();
InputVATInvoiceExample.Criteria criteria = example.createCriteria();
InputVATInvoiceExample.Criteria criteria1 = example.createCriteria();
public List<InputVatInvoice> getInputVATInvoice(Integer period, Integer invoiceType, String checkPass, String scanPass, String notPass) {
InputVatTInvoiceExample example = new InputVatTInvoiceExample();
InputVatTInvoiceExample.Criteria criteria = example.createCriteria();
InputVatTInvoiceExample.Criteria criteria1 = example.createCriteria();
if (period != null) {
......
......@@ -13,10 +13,10 @@ import pwc.taxtech.atms.dto.FieldsMapper;
import pwc.taxtech.atms.dto.OperationResultDto;
import pwc.taxtech.atms.dto.vatdto.InputVATInvoiceDto;
import pwc.taxtech.atms.vat.dpo.InputInvoicePreviewQueryParam;
import pwc.taxtech.atms.vat.entity.InputVATInvoice;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceExample;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItemExample;
import pwc.taxtech.atms.vat.entity.InputVatInvoice;
import pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItemExample;
import java.io.StringReader;
import java.util.ArrayList;
......@@ -52,19 +52,19 @@ public class InputInvoiceDataImportServiceImpl extends VatAbstractService {
return qResult;
}
public List<InputVATInvoiceItem> getInputInvoiceItemTreeViewData(String id) {
InputVATInvoiceItemExample example = new InputVATInvoiceItemExample();
public List<InputVatInvoiceItem> getInputInvoiceItemTreeViewData(String id) {
InputVatInvoiceItemExample example = new InputVatInvoiceItemExample();
example.createCriteria().andInputVATInvoiceIDEqualTo(id);
return inputVATInvoiceItemMapper.selectByExample(example);
}
public List<InputVATInvoiceDto> getInputInvoiceList(Integer period) {
InputVATInvoiceExample inputVATInvoiceExample = new InputVATInvoiceExample();
InputVatTInvoiceExample inputVATInvoiceExample = new InputVatTInvoiceExample();
inputVATInvoiceExample.createCriteria().andPeriodIDEqualTo(period.intValue());
List<InputVATInvoice> inputVatEntity = inputVATInvoiceMapper.selectByExample(inputVATInvoiceExample);
inputVatEntity.sort(Comparator.comparing(InputVATInvoice::getInvoiceNumber));
inputVatEntity.sort(Comparator.comparing(InputVATInvoice::getCreateTime));
List<InputVatInvoice> inputVatEntity = inputVATInvoiceMapper.selectByExample(inputVATInvoiceExample);
inputVatEntity.sort(Comparator.comparing(InputVatInvoice::getInvoiceNumber));
inputVatEntity.sort(Comparator.comparing(InputVatInvoice::getCreateTime));
List<InputVATInvoiceDto> result = new ArrayList<>(inputVatEntity.size());
inputVatEntity.forEach(m -> {
......@@ -82,20 +82,20 @@ public class InputInvoiceDataImportServiceImpl extends VatAbstractService {
return result;
}
public List<InputVATInvoiceItem> getInputInvoiceItemList(Integer period) {
InputVATInvoiceItemExample example = new InputVATInvoiceItemExample();
public List<InputVatInvoiceItem> getInputInvoiceItemList(Integer period) {
InputVatInvoiceItemExample example = new InputVatInvoiceItemExample();
example.createCriteria().andPeriodIDEqualTo(period.intValue());
return inputVATInvoiceItemMapper.selectByExample(example);
}
public OperationResultDto ImportInputInvoiceItemData(List<InputVATInvoiceItem> inputInvoiceItemDtoList, int importType, String userID) {
public OperationResultDto ImportInputInvoiceItemData(List<InputVatInvoiceItem> inputInvoiceItemDtoList, int importType, String userID) {
if (inputInvoiceItemDtoList.size() > 0) {
int period = inputInvoiceItemDtoList.get(0).getPeriodID();
inputInvoiceItemDtoList.forEach(item -> {
//导入之前需要将汇总表的主键更新到明细表中,如果找不到汇总信息,则设置为空
InputVATInvoiceExample example = new InputVATInvoiceExample();
InputVatTInvoiceExample example = new InputVatTInvoiceExample();
example.createCriteria().andInvoiceCodeEqualTo(item.getInvoiceCode()).andInvoiceNumberEqualTo(item.getInvoiceNumber());
InputVATInvoice invoiceTotal = inputVATInvoiceMapper.selectByExample(example).stream().findFirst().get();
InputVatInvoice invoiceTotal = inputVATInvoiceMapper.selectByExample(example).stream().findFirst().get();
item.setInputVATInvoiceID(invoiceTotal == null ? "" : invoiceTotal.getID());
item.setID(UUID.randomUUID().toString());
......
......@@ -19,9 +19,9 @@ import pwc.taxtech.atms.vat.dpo.OutputVATInvoiceInfoDto;
import pwc.taxtech.atms.vat.dpo.QueryOutputDto;
import pwc.taxtech.atms.vat.entity.ImportFile;
import pwc.taxtech.atms.vat.entity.ImportFileExample;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceExample;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceItemExample;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceExample;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample;
import java.io.StringReader;
import java.math.BigDecimal;
......@@ -92,7 +92,7 @@ public class OutputInvoiceServiceImpl extends VatAbstractService {
result.addAll(outputVATInvoiceMapper.queryOutputDetailWithItem(period));
if (!result.isEmpty()) {
result.sort(Comparator.comparing(OutputVATInvoiceInfoDto::getInvoiceID));
OutputVATInvoiceExample example = new OutputVATInvoiceExample();
OutputVatInvoiceExample example = new OutputVatInvoiceExample();
example.createCriteria().andPeriodIDEqualTo(period.intValue());
dtoResult.setReturnCode(Long.valueOf(outputVATInvoiceMapper.countByExample(example)).intValue());
}else {
......@@ -106,12 +106,12 @@ public class OutputInvoiceServiceImpl extends VatAbstractService {
private List<OutputVATInvoiceInfoDto> getOutputDetailInfoList(List<OutputVATInvoiceInfoDto> query) {
List<OutputVATInvoiceInfoDto> list = new ArrayList<>();
List<OutputVATInvoiceItem> outItem = outputVATInvoiceItemMapper.selectByExample(new OutputVATInvoiceItemExample());
List<OutputVatInvoiceItem> outItem = outputVATInvoiceItemMapper.selectByExample(new OutputVatInvoiceItemExample());
if (query != null && query.size() > 0) {
for (OutputVATInvoiceInfoDto dto : query) {
List<OutputVATInvoiceItem> itemList = outItem.stream()
List<OutputVatInvoiceItem> itemList = outItem.stream()
.filter(a -> a.getInvoiceID().equals(dto.getInvoiceID()))
.sorted(Comparator.comparing(OutputVATInvoiceItem::getSeqNo))
.sorted(Comparator.comparing(OutputVatInvoiceItem::getSeqNo))
.collect(Collectors.toList());
if (itemList != null && itemList.size() > 0) {
......@@ -265,11 +265,11 @@ public class OutputInvoiceServiceImpl extends VatAbstractService {
}
}
public List<OutputVATInvoiceItem> QueryOutputInvoiceItemList(String invoiceID) {
OutputVATInvoiceItemExample example = new OutputVATInvoiceItemExample();
public List<OutputVatInvoiceItem> QueryOutputInvoiceItemList(String invoiceID) {
OutputVatInvoiceItemExample example = new OutputVatInvoiceItemExample();
example.createCriteria().andInvoiceIDEqualTo(invoiceID);
List<OutputVATInvoiceItem> result=outputVATInvoiceItemMapper.selectByExample(example);
result.stream().sorted(Comparator.comparing(OutputVATInvoiceItem::getSeqNo));
List<OutputVatInvoiceItem> result=outputVATInvoiceItemMapper.selectByExample(example);
result.stream().sorted(Comparator.comparing(OutputVatInvoiceItem::getSeqNo));
return result;
}
}
......@@ -21,15 +21,15 @@ public class VatAbstractService {
@Autowired
public VatStandardAccountMapper vatStandardAccountMapper;
@Autowired
public InputVATInvoiceMapper inputVATInvoiceMapper;
public InputVatInvoiceMapper inputVATInvoiceMapper;
@Autowired
public OutputVATInvoiceMapper outputVATInvoiceMapper;
public OutputVatInvoiceMapper outputVATInvoiceMapper;
@Autowired
public CustomsInvoiceMapper customsInvoiceMapper;
@Autowired
public OutputVATInvoiceItemMapper outputVATInvoiceItemMapper;
public OutputVatInvoiceItemMapper outputVATInvoiceItemMapper;
@Autowired
public InputVATInvoiceItemMapper inputVATInvoiceItemMapper;
public InputVatInvoiceItemMapper inputVATInvoiceItemMapper;
@Autowired
public ProjectMapper projectMapper;
@Autowired
......
......@@ -10,7 +10,7 @@ import pwc.taxtech.atms.constant.enums.EnumOperationType;
import pwc.taxtech.atms.constant.enums.FormulaDataSourceDetailType;
import pwc.taxtech.atms.constant.enums.KeyValueConfigResultType;
import pwc.taxtech.atms.dto.vatdto.InputInvoiceDataSourceDto;
import pwc.taxtech.atms.vat.entity.InputVATInvoice;
import pwc.taxtech.atms.vat.entity.InputVatInvoice;
import java.math.BigDecimal;
import java.util.*;
......@@ -74,7 +74,7 @@ public class JXFP extends FunctionBase implements FreeRefFunction {
calendar.add(Calendar.YEAR, 1);
Date endDate = calendar.getTime();
List<InputVATInvoice> inputVATInvoices;
List<InputVatInvoice> inputVATInvoices;
if (authenticationType == 1 && formulaContext.getIsYear()) {
inputVATInvoices = SpringContextUtil.inputVatInvoiceDao.getInputVATInvoice(null, invoiceType,
Constant.InputInvoiceCertificationResult.CheckPass, Constant.InputInvoiceCertificationResult.ScanPass,
......@@ -126,7 +126,7 @@ public class JXFP extends FunctionBase implements FreeRefFunction {
}
List<InputInvoiceDataSourceDto> dataSource = new ArrayList<>();
for (InputVATInvoice x : inputVATInvoices) {
for (InputVatInvoice x : inputVATInvoices) {
InputInvoiceDataSourceDto inputInvoiceDataSourceDto = new InputInvoiceDataSourceDto();
inputInvoiceDataSourceDto.setAmount(FormulaHelper.roundValue(x.getAmount(), KeyValueConfigResultType.Accounting,
null, formulaContext));
......
......@@ -5,18 +5,18 @@ import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItemExample;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItemExample;
@Mapper
public interface InputVATInvoiceItemMapper extends MyVatMapper {
public interface InputVatInvoiceItemMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoiceItem
*
* @mbg.generated
*/
long countByExample(InputVATInvoiceItemExample example);
long countByExample(InputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -24,7 +24,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int deleteByExample(InputVATInvoiceItemExample example);
int deleteByExample(InputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -40,7 +40,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insert(InputVATInvoiceItem record);
int insert(InputVatInvoiceItem record);
/**
* This method was generated by MyBatis Generator.
......@@ -48,7 +48,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insertSelective(InputVATInvoiceItem record);
int insertSelective(InputVatInvoiceItem record);
/**
* This method was generated by MyBatis Generator.
......@@ -56,7 +56,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<InputVATInvoiceItem> selectByExampleWithRowbounds(InputVATInvoiceItemExample example, RowBounds rowBounds);
List<InputVatInvoiceItem> selectByExampleWithRowbounds(InputVatInvoiceItemExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
......@@ -64,7 +64,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<InputVATInvoiceItem> selectByExample(InputVATInvoiceItemExample example);
List<InputVatInvoiceItem> selectByExample(InputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -72,7 +72,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
InputVATInvoiceItem selectByPrimaryKey(String ID);
InputVatInvoiceItem selectByPrimaryKey(String ID);
/**
* This method was generated by MyBatis Generator.
......@@ -80,7 +80,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") InputVATInvoiceItem record, @Param("example") InputVATInvoiceItemExample example);
int updateByExampleSelective(@Param("record") InputVatInvoiceItem record, @Param("example") InputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -88,7 +88,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExample(@Param("record") InputVATInvoiceItem record, @Param("example") InputVATInvoiceItemExample example);
int updateByExample(@Param("record") InputVatInvoiceItem record, @Param("example") InputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -96,7 +96,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(InputVATInvoiceItem record);
int updateByPrimaryKeySelective(InputVatInvoiceItem record);
/**
* This method was generated by MyBatis Generator.
......@@ -104,5 +104,5 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKey(InputVATInvoiceItem record);
int updateByPrimaryKey(InputVatInvoiceItem record);
}
\ No newline at end of file
......@@ -9,18 +9,18 @@ import pwc.taxtech.atms.vat.dpo.CellInvoiceDto;
import pwc.taxtech.atms.vat.dpo.InputInvoicePreviewQueryParam;
import pwc.taxtech.atms.vat.dpo.InputVATInvoiceItemExtendDto;
import pwc.taxtech.atms.vat.dpo.InputVATInvoiceResultDto;
import pwc.taxtech.atms.vat.entity.InputVATInvoice;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceExample;
import pwc.taxtech.atms.vat.entity.InputVatInvoice;
import pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample;
@Mapper
public interface InputVATInvoiceMapper extends MyVatMapper {
public interface InputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
*
* @mbg.generated
*/
long countByExample(InputVATInvoiceExample example);
long countByExample(InputVatTInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -28,7 +28,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int deleteByExample(InputVATInvoiceExample example);
int deleteByExample(InputVatTInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -44,7 +44,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insert(InputVATInvoice record);
int insert(InputVatInvoice record);
/**
* This method was generated by MyBatis Generator.
......@@ -52,7 +52,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insertSelective(InputVATInvoice record);
int insertSelective(InputVatInvoice record);
/**
* This method was generated by MyBatis Generator.
......@@ -60,7 +60,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<InputVATInvoice> selectByExampleWithRowbounds(InputVATInvoiceExample example, RowBounds rowBounds);
List<InputVatInvoice> selectByExampleWithRowbounds(InputVatTInvoiceExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
......@@ -68,7 +68,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<InputVATInvoice> selectByExample(InputVATInvoiceExample example);
List<InputVatInvoice> selectByExample(InputVatTInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -76,7 +76,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
InputVATInvoice selectByPrimaryKey(String ID);
InputVatInvoice selectByPrimaryKey(String ID);
/**
* This method was generated by MyBatis Generator.
......@@ -84,7 +84,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") InputVATInvoice record, @Param("example") InputVATInvoiceExample example);
int updateByExampleSelective(@Param("record") InputVatInvoice record, @Param("example") InputVatTInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -92,7 +92,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExample(@Param("record") InputVATInvoice record, @Param("example") InputVATInvoiceExample example);
int updateByExample(@Param("record") InputVatInvoice record, @Param("example") InputVatTInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -100,7 +100,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(InputVATInvoice record);
int updateByPrimaryKeySelective(InputVatInvoice record);
/**
* This method was generated by MyBatis Generator.
......@@ -108,11 +108,11 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKey(InputVATInvoice record);
int updateByPrimaryKey(InputVatInvoice record);
long getInputVATInvoiceCountByCondition(@Param("paras") InputInvoicePreviewQueryParam param);
List<InputVATInvoice> getInputVATInvoiceCountByConditionWithPaging(@Param("paras") InputInvoicePreviewQueryParam param,@Param("limitFrom") int limitFrom);
List<InputVatInvoice> getInputVATInvoiceCountByConditionWithPaging(@Param("paras") InputInvoicePreviewQueryParam param, @Param("limitFrom") int limitFrom);
List<InputVATInvoiceResultDto> getInputVATInvoiceResultDto(@Param("dbName")String dbName);
......
......@@ -5,18 +5,18 @@ import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceItemExample;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample;
@Mapper
public interface OutputVATInvoiceItemMapper extends MyVatMapper {
public interface OutputVatInvoiceItemMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoiceItem
*
* @mbg.generated
*/
long countByExample(OutputVATInvoiceItemExample example);
long countByExample(OutputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -24,7 +24,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int deleteByExample(OutputVATInvoiceItemExample example);
int deleteByExample(OutputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -40,7 +40,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insert(OutputVATInvoiceItem record);
int insert(OutputVatInvoiceItem record);
/**
* This method was generated by MyBatis Generator.
......@@ -48,7 +48,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insertSelective(OutputVATInvoiceItem record);
int insertSelective(OutputVatInvoiceItem record);
/**
* This method was generated by MyBatis Generator.
......@@ -56,7 +56,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<OutputVATInvoiceItem> selectByExampleWithRowbounds(OutputVATInvoiceItemExample example, RowBounds rowBounds);
List<OutputVatInvoiceItem> selectByExampleWithRowbounds(OutputVatInvoiceItemExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
......@@ -64,7 +64,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<OutputVATInvoiceItem> selectByExample(OutputVATInvoiceItemExample example);
List<OutputVatInvoiceItem> selectByExample(OutputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -72,7 +72,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
OutputVATInvoiceItem selectByPrimaryKey(String itemID);
OutputVatInvoiceItem selectByPrimaryKey(String itemID);
/**
* This method was generated by MyBatis Generator.
......@@ -80,7 +80,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") OutputVATInvoiceItem record, @Param("example") OutputVATInvoiceItemExample example);
int updateByExampleSelective(@Param("record") OutputVatInvoiceItem record, @Param("example") OutputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -88,7 +88,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExample(@Param("record") OutputVATInvoiceItem record, @Param("example") OutputVATInvoiceItemExample example);
int updateByExample(@Param("record") OutputVatInvoiceItem record, @Param("example") OutputVatInvoiceItemExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -96,7 +96,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(OutputVATInvoiceItem record);
int updateByPrimaryKeySelective(OutputVatInvoiceItem record);
/**
* This method was generated by MyBatis Generator.
......@@ -104,5 +104,5 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKey(OutputVATInvoiceItem record);
int updateByPrimaryKey(OutputVatInvoiceItem record);
}
\ No newline at end of file
......@@ -10,18 +10,18 @@ import pwc.taxtech.atms.vat.dpo.OutputInvoiceDataSourceDto;
import pwc.taxtech.atms.vat.dpo.OutputVATInvoiceDto;
import pwc.taxtech.atms.vat.dpo.OutputVATInvoiceInfoDto;
import pwc.taxtech.atms.vat.dpo.QueryOutputDto;
import pwc.taxtech.atms.vat.entity.OutputVATInvoice;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceExample;
import pwc.taxtech.atms.vat.entity.OutputVatInvoice;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceExample;
@Mapper
public interface OutputVATInvoiceMapper extends MyVatMapper {
public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
*
* @mbg.generated
*/
long countByExample(OutputVATInvoiceExample example);
long countByExample(OutputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -29,7 +29,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int deleteByExample(OutputVATInvoiceExample example);
int deleteByExample(OutputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -45,7 +45,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insert(OutputVATInvoice record);
int insert(OutputVatInvoice record);
/**
* This method was generated by MyBatis Generator.
......@@ -53,7 +53,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int insertSelective(OutputVATInvoice record);
int insertSelective(OutputVatInvoice record);
/**
* This method was generated by MyBatis Generator.
......@@ -61,7 +61,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<OutputVATInvoice> selectByExampleWithRowbounds(OutputVATInvoiceExample example, RowBounds rowBounds);
List<OutputVatInvoice> selectByExampleWithRowbounds(OutputVatInvoiceExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
......@@ -69,7 +69,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List<OutputVATInvoice> selectByExample(OutputVATInvoiceExample example);
List<OutputVatInvoice> selectByExample(OutputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -77,7 +77,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
OutputVATInvoice selectByPrimaryKey(String invoiceID);
OutputVatInvoice selectByPrimaryKey(String invoiceID);
/**
* This method was generated by MyBatis Generator.
......@@ -85,7 +85,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") OutputVATInvoice record, @Param("example") OutputVATInvoiceExample example);
int updateByExampleSelective(@Param("record") OutputVatInvoice record, @Param("example") OutputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -93,7 +93,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByExample(@Param("record") OutputVATInvoice record, @Param("example") OutputVATInvoiceExample example);
int updateByExample(@Param("record") OutputVatInvoice record, @Param("example") OutputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -101,7 +101,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(OutputVATInvoice record);
int updateByPrimaryKeySelective(OutputVatInvoice record);
/**
* This method was generated by MyBatis Generator.
......@@ -109,7 +109,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int updateByPrimaryKey(OutputVATInvoice record);
int updateByPrimaryKey(OutputVatInvoice record);
List<OutputVATInvoiceInfoDto> selectOutputVATInvoiceInfoLeftJoinItem(@Param("queryDto")QueryOutputDto queryDto);
......
package pwc.taxtech.atms.vat.dpo;
import pwc.taxtech.atms.vat.entity.GoodsMapping;
import pwc.taxtech.atms.vat.entity.InputVATInvoice;
import pwc.taxtech.atms.vat.entity.InputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.InputVatInvoice;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceItem;
public class InputVATInvoiceResultDto {
private String invoiceID;
private InputVATInvoice inputVATInvoice;
private InputVATInvoiceItem inputVATInvoiceItem;
private InputVatInvoice inputVATInvoice;
private InputVatInvoiceItem inputVATInvoiceItem;
private GoodsMapping goodsMapping;
public String getInvoiceID() {
......@@ -18,19 +18,19 @@ public class InputVATInvoiceResultDto {
this.invoiceID = invoiceID;
}
public InputVATInvoice getInputVATInvoice() {
public InputVatInvoice getInputVATInvoice() {
return inputVATInvoice;
}
public void setInputVATInvoice(InputVATInvoice inputVATInvoice) {
public void setInputVATInvoice(InputVatInvoice inputVATInvoice) {
this.inputVATInvoice = inputVATInvoice;
}
public InputVATInvoiceItem getInputVATInvoiceItem() {
public InputVatInvoiceItem getInputVATInvoiceItem() {
return inputVATInvoiceItem;
}
public void setInputVATInvoiceItem(InputVATInvoiceItem inputVATInvoiceItem) {
public void setInputVATInvoiceItem(InputVatInvoiceItem inputVATInvoiceItem) {
this.inputVATInvoiceItem = inputVATInvoiceItem;
}
......
package pwc.taxtech.atms.vat.dpo;
import pwc.taxtech.atms.vat.entity.OutputVATInvoice;
import pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem;
import pwc.taxtech.atms.vat.entity.OutputVatInvoice;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem;
public class OutputVATInvoiceDto {
private String invoiceID;
private OutputVATInvoice invoice;
private OutputVATInvoiceItem invoiceItem;
private OutputVatInvoice invoice;
private OutputVatInvoiceItem invoiceItem;
public String getInvoiceID() {
return invoiceID;
......@@ -16,19 +16,19 @@ public class OutputVATInvoiceDto {
this.invoiceID = invoiceID;
}
public OutputVATInvoice getInvoice() {
public OutputVatInvoice getInvoice() {
return invoice;
}
public void setInvoice(OutputVATInvoice invoice) {
public void setInvoice(OutputVatInvoice invoice) {
this.invoice = invoice;
}
public OutputVATInvoiceItem getInvoiceItem() {
public OutputVatInvoiceItem getInvoiceItem() {
return invoiceItem;
}
public void setInvoiceItem(OutputVATInvoiceItem invoiceItem) {
public void setInvoiceItem(OutputVatInvoiceItem invoiceItem) {
this.invoiceItem = invoiceItem;
}
}
......@@ -11,7 +11,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public class InputVATInvoice implements Serializable {
public class InputVatInvoice implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
......
......@@ -11,7 +11,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public class InputVATInvoiceItem implements Serializable {
public class InputVatInvoiceItem implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
......
......@@ -5,7 +5,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class InputVATInvoiceItemExample {
public class InputVatInvoiceItemExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table InputVATInvoiceItem
......@@ -36,7 +36,7 @@ public class InputVATInvoiceItemExample {
*
* @mbg.generated
*/
public InputVATInvoiceItemExample() {
public InputVatInvoiceItemExample() {
oredCriteria = new ArrayList<Criteria>();
}
......
......@@ -5,7 +5,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class InputVATInvoiceExample {
public class InputVatTInvoiceExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table InputVATInvoice
......@@ -36,7 +36,7 @@ public class InputVATInvoiceExample {
*
* @mbg.generated
*/
public InputVATInvoiceExample() {
public InputVatTInvoiceExample() {
oredCriteria = new ArrayList<Criteria>();
}
......
......@@ -10,7 +10,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public class OutputVATInvoice implements Serializable {
public class OutputVatInvoice implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
......
......@@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class OutputVATInvoiceExample {
public class OutputVatInvoiceExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table OutputVATInvoice
......@@ -35,7 +35,7 @@ public class OutputVATInvoiceExample {
*
* @mbg.generated
*/
public OutputVATInvoiceExample() {
public OutputVatInvoiceExample() {
oredCriteria = new ArrayList<Criteria>();
}
......
......@@ -11,7 +11,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public class OutputVATInvoiceItem implements Serializable {
public class OutputVatInvoiceItem implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
......
......@@ -5,7 +5,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class OutputVATInvoiceItemExample {
public class OutputVatInvoiceItemExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table OutputVATInvoiceItem
......@@ -36,7 +36,7 @@ public class OutputVATInvoiceItemExample {
*
* @mbg.generated
*/
public OutputVATInvoiceItemExample() {
public OutputVatInvoiceItemExample() {
oredCriteria = new ArrayList<Criteria>();
}
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.vat.dao.InputVATInvoiceItemMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.InputVATInvoiceItem">
<mapper namespace="pwc.taxtech.atms.vat.dao.InputVatInvoiceItemMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.InputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -93,7 +93,7 @@
ID, InputVATInvoiceID, PeriodID, InvoiceCode, InvoiceNumber, Amount, TaxAmount, TaxRate,
ProductionName, CreatorID, CreateTime, ProductionCode
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItemExample" resultMap="BaseResultMap">
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItemExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -129,7 +129,7 @@
delete from InputVATInvoiceItem
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItemExample">
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItemExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -139,7 +139,7 @@
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItem">
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -155,7 +155,7 @@
#{creatorID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{productionCode,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItem">
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -238,7 +238,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItemExample" resultType="java.lang.Long">
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItemExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -318,7 +318,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItem">
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -361,7 +361,7 @@
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItem">
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -380,7 +380,7 @@
ProductionCode = #{productionCode,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItemExample" resultMap="BaseResultMap">
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItemExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.vat.dao.InputVATInvoiceMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.InputVATInvoice">
<mapper namespace="pwc.taxtech.atms.vat.dao.InputVatInvoiceMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.InputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -98,7 +98,7 @@
InvoiceType, CertificationResult, CertificationDate, CreatorID, CreateTime, `Status`,
PartAccntedPeriod, AccntedPeriod
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceExample" resultMap="BaseResultMap">
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -134,7 +134,7 @@
delete from InputVATInvoice
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceExample">
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -144,7 +144,7 @@
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoice">
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -162,7 +162,7 @@
#{creatorID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},
#{partAccntedPeriod,jdbcType=INTEGER}, #{accntedPeriod,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoice">
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -269,7 +269,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceExample" resultType="java.lang.Long">
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -365,7 +365,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoice">
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -420,7 +420,7 @@
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoice">
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.InputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -443,7 +443,7 @@
AccntedPeriod = #{accntedPeriod,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.InputVATInvoiceExample" resultMap="BaseResultMap">
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.vat.dao.OutputVATInvoiceItemMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem">
<mapper namespace="pwc.taxtech.atms.vat.dao.OutputVatInvoiceItemMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -99,7 +99,7 @@
Quantity, UnitPrice, Amount, TaxRate, TaxAmount, SeqNo, TaxClassCode, CreatorID,
CreateTime, PeriodID
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItemExample" resultMap="BaseResultMap">
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -135,7 +135,7 @@
delete from OutputVATInvoiceItem
where ItemID = #{itemID,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItemExample">
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -145,7 +145,7 @@
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem">
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -163,7 +163,7 @@
#{seqNo,jdbcType=INTEGER}, #{taxClassCode,jdbcType=VARCHAR}, #{creatorID,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{periodID,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem">
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -276,7 +276,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItemExample" resultType="java.lang.Long">
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -376,7 +376,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem">
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -434,7 +434,7 @@
</set>
where ItemID = #{itemID,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem">
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -458,7 +458,7 @@
PeriodID = #{periodID,jdbcType=INTEGER}
where ItemID = #{itemID,jdbcType=VARCHAR}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItemExample" resultMap="BaseResultMap">
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.vat.dao.OutputVATInvoiceMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.OutputVATInvoice">
<mapper namespace="pwc.taxtech.atms.vat.dao.OutputVatInvoiceMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.OutputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -98,7 +98,7 @@
PhoneNum, InvoiceDate, SeqNo, PeriodID, `Status`, CreatorID, CreateTime, PartAccntedPeriod,
AccntedPeriod
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceExample" resultMap="BaseResultMap">
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -134,7 +134,7 @@
delete from OutputVATInvoice
where InvoiceID = #{invoiceID,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceExample">
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -144,7 +144,7 @@
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoice">
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -162,7 +162,7 @@
#{creatorID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{partAccntedPeriod,jdbcType=INTEGER},
#{accntedPeriod,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoice">
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -269,7 +269,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceExample" resultType="java.lang.Long">
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -365,7 +365,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoice">
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -420,7 +420,7 @@
</set>
where InvoiceID = #{invoiceID,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoice">
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoice">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -443,7 +443,7 @@
AccntedPeriod = #{accntedPeriod,jdbcType=INTEGER}
where InvoiceID = #{invoiceID,jdbcType=VARCHAR}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceExample" resultMap="BaseResultMap">
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.vat.dao.InputVATInvoiceMapper">
<mapper namespace="pwc.taxtech.atms.vat.dao.InputVatInvoiceMapper">
<select id="getInputVATInvoiceCountByCondition"
parameterType="pwc.taxtech.atms.dto.vatdto.InputInvoicePreviewQueryParam" resultType="java.lang.Long">
SELECT COUNT(1) FROM InputVATInvoice WHERE 1=1
......@@ -98,7 +98,7 @@
</select>
<resultMap id="inputVATInvoiceResultDto" type="pwc.taxtech.atms.dto.vatdto.InputVATInvoiceResultDto">
<id property="invoiceID" column="invoice_id"/>
<association property="inputVATInvoice" javaType="pwc.taxtech.atms.vat.entity.InputVATInvoice">
<association property="inputVATInvoice" javaType="pwc.taxtech.atms.vat.entity.InputVatInvoice">
<id column="ID" jdbcType="VARCHAR" property="ID"/>
<result column="PeriodID" jdbcType="INTEGER" property="periodID"/>
<result column="InvoiceCode" jdbcType="VARCHAR" property="invoiceCode"/>
......@@ -116,7 +116,7 @@
<result column="PartAccntedPeriod" jdbcType="INTEGER" property="partAccntedPeriod"/>
<result column="AccntedPeriod" jdbcType="INTEGER" property="accntedPeriod"/>
</association>
<association property="inputVATInvoiceItem" javaType="pwc.taxtech.atms.vat.entity.InputVATInvoiceItem">
<association property="inputVATInvoiceItem" javaType="pwc.taxtech.atms.vat.entity.InputVatInvoiceItem">
<id column="ID" jdbcType="VARCHAR" property="ID"/>
<result column="InputVATInvoiceID" jdbcType="VARCHAR" property="inputVATInvoiceID"/>
<result column="PeriodID" jdbcType="INTEGER" property="periodID"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.vat.dao.OutputVATInvoiceMapper">
<mapper namespace="pwc.taxtech.atms.vat.dao.OutputVatInvoiceMapper">
<resultMap id="OutputVATInvoiceInfoDto" type="pwc.taxtech.atms.dto.vatdto.OutputVATInvoiceInfoDto">
<id column="InvoiceID" jdbcType="VARCHAR" property="invoiceID"/>
<result column="InvoiceType" jdbcType="INTEGER" property="invoiceType"/>
......@@ -67,7 +67,7 @@
</select>
<resultMap id="outputVATInvoiceDto" type="pwc.taxtech.atms.dto.vatdto.OutputVATInvoiceDto">
<id property="invoiceID" column="invoice_id"/>
<association property="invoice" javaType="pwc.taxtech.atms.vat.entity.OutputVATInvoice">
<association property="invoice" javaType="pwc.taxtech.atms.vat.entity.OutputVatInvoice">
<id column="InvoiceID" property="invoiceID"/>
<result column="InvoiceType" property="invoiceType"/>
<result column="ClassCode" property="classCode"/>
......@@ -85,7 +85,7 @@
<result column="PartAccntedPeriod" property="partAccntedPeriod"/>
<result column="AccntedPeriod" property="accntedPeriod"/>
</association>
<association property="invoiceItem" javaType="pwc.taxtech.atms.vat.entity.OutputVATInvoiceItem">
<association property="invoiceItem" javaType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
<id column="ItemID" property="itemID"/>
<result column="InvoiceID" property="invoiceID"/>
<result column="CodeVersion" property="codeVersion"/>
......
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