Commit 0d35c764 authored by neo's avatar neo

[dev] add re gen mapper and extend self defind method

parent bf889f0f
......@@ -109,7 +109,7 @@ public interface RolePermissionMapper extends MyMapper {
List<RolePermission> selectByRoleId(String roleId);
List<RolePermission> selectByRoleAndServiceTypeWithAssociation(@Param("roleId") String roleId, @Param("serviceType d") String serviceTypeId);
List<RolePermission> selectByRoleAndServiceTypeWithAssociation(@Param("roleId") String roleId, @Param("serviceTypeId") String serviceTypeId);
List<RolePermission> selectByRoleListAndServiceTypeWithAssociation(@Param("roleList") List<String> roleList, @Param("serviceTypeId") String serviceTypeId);
}
\ No newline at end of file
......@@ -11,20 +11,10 @@ import java.util.Date;
* @mbg.generated do_not_delete_during_merge
*/
public class EnterpriseAccountSetOrg extends BaseEntity implements Serializable {
private Organization organization;
public Organization getOrganization() {
return organization;
}
public void setOrganization(Organization organization) {
this.organization = organization;
}
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ENTERPRISE_ACCOUNT_SET_ORG.id
* This field corresponds to the database column ENTERPRISE_ACCOUNT_SET_ORG.ID
*
* @mbg.generated
*/
......@@ -66,6 +56,8 @@ public class EnterpriseAccountSetOrg extends BaseEntity implements Serializable
*/
private Date expiredDate;
private Organization organization;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table ENTERPRISE_ACCOUNT_SET_ORG
......@@ -76,9 +68,9 @@ public class EnterpriseAccountSetOrg extends BaseEntity implements Serializable
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ENTERPRISE_ACCOUNT_SET_ORG.id
* This method returns the value of the database column ENTERPRISE_ACCOUNT_SET_ORG.ID
*
* @return the value of ENTERPRISE_ACCOUNT_SET_ORG.id
* @return the value of ENTERPRISE_ACCOUNT_SET_ORG.ID
*
* @mbg.generated
*/
......@@ -88,9 +80,9 @@ public class EnterpriseAccountSetOrg extends BaseEntity implements Serializable
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ENTERPRISE_ACCOUNT_SET_ORG.id
* This method sets the value of the database column ENTERPRISE_ACCOUNT_SET_ORG.ID
*
* @param id the value for ENTERPRISE_ACCOUNT_SET_ORG.id
* @param id the value for ENTERPRISE_ACCOUNT_SET_ORG.ID
*
* @mbg.generated
*/
......@@ -214,4 +206,12 @@ public class EnterpriseAccountSetOrg extends BaseEntity implements Serializable
sb.append("]");
return sb.toString();
}
public Organization getOrganization() {
return organization;
}
public void setOrganization(Organization organization) {
this.organization = organization;
}
}
\ No newline at end of file
......@@ -12,7 +12,7 @@ import java.util.Date;
public class Organization extends BaseEntity implements Serializable {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ORGANIZATION.id
* This field corresponds to the database column ORGANIZATION.ID
*
* @mbg.generated
*/
......@@ -73,33 +73,6 @@ public class Organization extends BaseEntity implements Serializable {
* @mbg.generated
*/
private String structureId;
private Area area;
private BusinessUnit businessUnit;
public Area getArea() {
return area;
}
public void setArea(Area area) {
this.area = area;
}
public BusinessUnit getBusinessUnit() {
return businessUnit;
}
public void setBusinessUnit(BusinessUnit businessUnit) {
this.businessUnit = businessUnit;
}
public Boolean getActive() {
return isActive;
}
public void setActive(Boolean active) {
isActive = active;
}
/**
* This field was generated by MyBatis Generator.
......@@ -331,13 +304,18 @@ public class Organization extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
private Area area;
private BusinessUnit businessUnit;
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ORGANIZATION.id
* This method returns the value of the database column ORGANIZATION.ID
*
* @return the value of ORGANIZATION.id
* @return the value of ORGANIZATION.ID
* @mbg.generated
*/
public String getId() {
......@@ -346,9 +324,9 @@ public class Organization extends BaseEntity implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ORGANIZATION.id
* This method sets the value of the database column ORGANIZATION.ID
*
* @param id the value for ORGANIZATION.id
* @param id the value for ORGANIZATION.ID
* @mbg.generated
*/
public void setId(String id) {
......@@ -1176,4 +1154,28 @@ public class Organization extends BaseEntity implements Serializable {
sb.append("]");
return sb.toString();
}
public Boolean getActive() {
return isActive;
}
public void setActive(Boolean active) {
isActive = active;
}
public Area getArea() {
return area;
}
public void setArea(Area area) {
this.area = area;
}
public BusinessUnit getBusinessUnit() {
return businessUnit;
}
public void setBusinessUnit(BusinessUnit businessUnit) {
this.businessUnit = businessUnit;
}
}
\ No newline at end of file
......@@ -14,7 +14,7 @@ public class Permission extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PERMISSION.id
* This field corresponds to the database column PERMISSION.ID
*
* @mbg.generated
*/
......@@ -63,7 +63,7 @@ public class Permission extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
private Boolean pLevel;
private Short pLevel;
/**
*
......@@ -120,9 +120,9 @@ public class Permission extends BaseEntity implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PERMISSION.id
* This method returns the value of the database column PERMISSION.ID
*
* @return the value of PERMISSION.id
* @return the value of PERMISSION.ID
*
* @mbg.generated
*/
......@@ -132,9 +132,9 @@ public class Permission extends BaseEntity implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PERMISSION.id
* This method sets the value of the database column PERMISSION.ID
*
* @param id the value for PERMISSION.id
* @param id the value for PERMISSION.ID
*
* @mbg.generated
*/
......@@ -246,7 +246,7 @@ public class Permission extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
public Boolean getpLevel() {
public Short getpLevel() {
return pLevel;
}
......@@ -258,7 +258,7 @@ public class Permission extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
public void setpLevel(Boolean pLevel) {
public void setpLevel(Short pLevel) {
this.pLevel = pLevel;
}
......
......@@ -11,7 +11,7 @@ import java.io.Serializable;
public class Region extends BaseEntity implements Serializable, Cloneable {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column REGION.id
* This field corresponds to the database column REGION.ID
*
* @mbg.generated
*/
......@@ -115,9 +115,9 @@ public class Region extends BaseEntity implements Serializable, Cloneable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column REGION.id
* This method returns the value of the database column REGION.ID
*
* @return the value of REGION.id
* @return the value of REGION.ID
* @mbg.generated
*/
public String getId() {
......@@ -126,9 +126,9 @@ public class Region extends BaseEntity implements Serializable, Cloneable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column REGION.id
* This method sets the value of the database column REGION.ID
*
* @param id the value for REGION.id
* @param id the value for REGION.ID
* @mbg.generated
*/
public void setId(String id) {
......
......@@ -9,29 +9,9 @@ import java.io.Serializable;
* @mbg.generated do_not_delete_during_merge
*/
public class RolePermission extends BaseEntity implements Serializable {
private Role role;
private Permission permission;
public Role getRole() {
return role;
}
public void setRole(Role role) {
this.role = role;
}
public Permission getPermission() {
return permission;
}
public void setPermission(Permission permission) {
this.permission = permission;
}
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ROLE_PERMISSION.id
* This field corresponds to the database column ROLE_PERMISSION.ID
*
* @mbg.generated
*/
......@@ -59,13 +39,18 @@ public class RolePermission extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
private Role role;
private Permission permission;
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ROLE_PERMISSION.id
* This method returns the value of the database column ROLE_PERMISSION.ID
*
* @return the value of ROLE_PERMISSION.id
* @return the value of ROLE_PERMISSION.ID
* @mbg.generated
*/
public String getId() {
......@@ -74,9 +59,9 @@ public class RolePermission extends BaseEntity implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ROLE_PERMISSION.id
* This method sets the value of the database column ROLE_PERMISSION.ID
*
* @param id the value for ROLE_PERMISSION.id
* @param id the value for ROLE_PERMISSION.ID
* @mbg.generated
*/
public void setId(String id) {
......@@ -145,4 +130,20 @@ public class RolePermission extends BaseEntity implements Serializable {
sb.append("]");
return sb.toString();
}
public Role getRole() {
return role;
}
public void setRole(Role role) {
this.role = role;
}
public Permission getPermission() {
return permission;
}
public void setPermission(Permission permission) {
this.permission = permission;
}
}
\ No newline at end of file
......@@ -14,7 +14,7 @@ public class Template extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TEMPLATE.id
* This field corresponds to the database column TEMPLATE.ID
*
* @mbg.generated
*/
......@@ -99,7 +99,7 @@ public class Template extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
private Integer isSystemType;
private Boolean isSystemType;
/**
*
......@@ -147,9 +147,9 @@ public class Template extends BaseEntity implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TEMPLATE.id
* This method returns the value of the database column TEMPLATE.ID
*
* @return the value of TEMPLATE.id
* @return the value of TEMPLATE.ID
*
* @mbg.generated
*/
......@@ -159,9 +159,9 @@ public class Template extends BaseEntity implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TEMPLATE.id
* This method sets the value of the database column TEMPLATE.ID
*
* @param id the value for TEMPLATE.id
* @param id the value for TEMPLATE.ID
*
* @mbg.generated
*/
......@@ -369,7 +369,7 @@ public class Template extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
public Integer getIsSystemType() {
public Boolean getIsSystemType() {
return isSystemType;
}
......@@ -381,7 +381,7 @@ public class Template extends BaseEntity implements Serializable {
*
* @mbg.generated
*/
public void setIsSystemType(Integer isSystemType) {
public void setIsSystemType(Boolean isSystemType) {
this.isSystemType = isSystemType;
}
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -9,11 +8,13 @@ import pwc.taxtech.atms.vat.dpo.AssetDetailResultDto;
import pwc.taxtech.atms.vat.entity.AssetsList;
import pwc.taxtech.atms.vat.entity.AssetsListExample;
import java.util.List;
@Mapper
public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -21,7 +22,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -29,7 +30,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -37,7 +38,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -45,7 +46,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -53,23 +54,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
*
* @mbg.generated
*/
List<AssetsList> selectByExampleWithBLOBsWithRowbounds(AssetsListExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
*
* @mbg.generated
*/
List<AssetsList> selectByExampleWithBLOBs(AssetsListExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -77,7 +62,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -85,7 +70,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -93,7 +78,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -101,15 +86,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
*
* @mbg.generated
*/
int updateByExampleWithBLOBs(@Param("record") AssetsList record, @Param("example") AssetsListExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -117,7 +94,7 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
......@@ -125,20 +102,20 @@ public interface AssetsListMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
*
* @mbg.generated
*/
int updateByPrimaryKeyWithBLOBs(AssetsList record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AssetsList
* This method corresponds to the database table ASSETS_LIST
*
* @mbg.generated
*/
int updateByPrimaryKey(AssetsList record);
List<AssetsList> selectByExampleWithBLOBsWithRowbounds(AssetsListExample example, RowBounds rowBounds);
List<AssetsList> selectByExampleWithBLOBs(AssetsListExample example);
int updateByExampleWithBLOBs(@Param("record") AssetsList record, @Param("example") AssetsListExample example);
int updateByPrimaryKeyWithBLOBs(AssetsList record);
List<AssetDetailResultDto> getAssetDetialResult(@Param("dbName") String dbName, @Param("assetType") Integer assetType,
@Param("assetDetailType") Integer assetDetailType);
}
\ No newline at end of file
package pwc.taxtech.atms.vat.dao;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -9,11 +7,14 @@ import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.Balance;
import pwc.taxtech.atms.vat.entity.BalanceExample;
import java.math.BigDecimal;
import java.util.List;
@Mapper
public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -21,7 +22,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -29,7 +30,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -37,7 +38,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -45,7 +46,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -53,7 +54,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -61,7 +62,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -69,7 +70,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -77,7 +78,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -85,7 +86,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -93,7 +94,7 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
......@@ -101,15 +102,16 @@ public interface BalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Balance
* This method corresponds to the database table BALANCE
*
* @mbg.generated
*/
int updateByPrimaryKey(Balance record);
BigDecimal getSumOfBalance(@Param("acctCode") String acctCode,@Param("direction") int direction,@Param("period") int period);
BigDecimal getSumOfBalance(@Param("acctCode") String acctCode, @Param("direction") int direction, @Param("period") int period);
BigDecimal getFirstOfBalance(@Param("acctCode") String acctCode,@Param("direction") int direction,@Param("period") int period);
BigDecimal getFirstOfBalance(@Param("acctCode") String acctCode, @Param("direction") int direction, @Param("period") int period);
Balance getFirstWithDbNameAndAccountCodeAndPeriod(@Param("dbName") String dbName,@Param("accountCode") String accountCode,@Param("period") int period);
Balance getFirstWithDbNameAndAccountCodeAndPeriod(@Param("dbName") String dbName, @Param("accountCode") String accountCode,
@Param("period") int period);
}
\ No newline at end of file
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -8,11 +7,13 @@ import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.BalanceStdManual;
import pwc.taxtech.atms.vat.entity.BalanceStdManualExample;
import java.util.List;
@Mapper
public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -20,7 +21,7 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -28,15 +29,15 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
int deleteByPrimaryKey(String balanceID);
int deleteByPrimaryKey(String balanceId);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -44,7 +45,7 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -52,7 +53,7 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -60,7 +61,7 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -68,15 +69,15 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
BalanceStdManual selectByPrimaryKey(String balanceID);
BalanceStdManual selectByPrimaryKey(String balanceId);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -84,7 +85,7 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -92,7 +93,7 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
......@@ -100,14 +101,14 @@ public interface BalanceStdManualMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table BalanceStdManual
* This method corresponds to the database table BALANCE_STD_MANUAL
*
* @mbg.generated
*/
int updateByPrimaryKey(BalanceStdManual record);
BalanceStdManual selectOneWithAccountCodeAndDBName(@Param("accountCode") String accountCode,@Param("dbName") String dbName,@Param("period") int period);
BalanceStdManual selectOneWithAccountCode(@Param("accountCode") String accountCode,@Param("period") int period);
BalanceStdManual selectOneWithAccountCodeAndDBName(@Param("accountCode") String accountCode, @Param("dbName") String dbName,
@Param("period") int period);
BalanceStdManual selectOneWithAccountCode(@Param("accountCode") String accountCode, @Param("period") int period);
}
\ No newline at end of file
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import java.util.Set;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
......@@ -12,11 +9,14 @@ import pwc.taxtech.atms.vat.entity.CellData;
import pwc.taxtech.atms.vat.entity.CellDataExample;
import pwc.taxtech.atms.vat.entity.PCTEntity;
import java.util.List;
import java.util.Set;
@Mapper
public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -24,7 +24,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -32,7 +32,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -40,7 +40,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -48,7 +48,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -56,7 +56,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -64,7 +64,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -72,7 +72,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -80,7 +80,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -88,7 +88,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -96,7 +96,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......@@ -104,7 +104,7 @@ public interface CellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cell_data
* This method corresponds to the database table CELL_DATA
*
* @mbg.generated
*/
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -15,7 +13,7 @@ import pwc.taxtech.atms.vat.entity.CompanyBalanceExample;
public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -23,7 +21,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -31,7 +29,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -39,7 +37,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -47,7 +45,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -55,7 +53,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -63,7 +61,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -71,7 +69,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -79,7 +77,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -87,7 +85,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -95,7 +93,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......@@ -103,7 +101,7 @@ public interface CompanyBalanceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CompanyBalance
* This method corresponds to the database table COMPANY_BALANCE
*
* @mbg.generated
*/
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -8,11 +7,13 @@ import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.CustomsInvoice;
import pwc.taxtech.atms.vat.entity.CustomsInvoiceExample;
import java.util.List;
@Mapper
public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -20,7 +21,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -28,7 +29,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -36,7 +37,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -44,7 +45,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -52,23 +53,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
*
* @mbg.generated
*/
List<CustomsInvoice> selectByExampleWithBLOBsWithRowbounds(CustomsInvoiceExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
*
* @mbg.generated
*/
List<CustomsInvoice> selectByExampleWithBLOBs(CustomsInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -76,7 +61,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -84,7 +69,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -92,7 +77,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -100,15 +85,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
*
* @mbg.generated
*/
int updateByExampleWithBLOBs(@Param("record") CustomsInvoice record, @Param("example") CustomsInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -116,7 +93,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......@@ -124,15 +101,7 @@ public interface CustomsInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
*
* @mbg.generated
*/
int updateByPrimaryKeyWithBLOBs(CustomsInvoice record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CustomsInvoice
* This method corresponds to the database table CUSTOMS_INVOICE
*
* @mbg.generated
*/
......
......@@ -15,7 +15,7 @@ import java.util.List;
public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -23,7 +23,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -31,7 +31,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -39,7 +39,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -47,7 +47,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -55,7 +55,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -63,7 +63,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -71,7 +71,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -79,7 +79,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -87,7 +87,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -95,7 +95,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -103,7 +103,7 @@ public interface DataSourceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table data_source
* This method corresponds to the database table DATA_SOURCE
*
* @mbg.generated
*/
......@@ -127,11 +127,11 @@ public interface DataSourceMapper extends MyVatMapper {
void clearCellDataSourceDataWithPeriod(@Param("period") Integer period);
void clearCellDataWithPeriod(@Param("exceptReportTemplateIDs") String exceptReportTemplateIDs,@Param("period")Integer period);
void clearCellDataWithPeriod(@Param("exceptReportTemplateIDs") String exceptReportTemplateIDs, @Param("period") Integer period);
void clearReportWithPeriod(Integer period);
void clearDataWithPeriod(@Param("exceptReportTemplateIDs") String exceptReportTemplateIDs,@Param("period")Integer period);
void clearDataWithPeriod(@Param("exceptReportTemplateIDs") String exceptReportTemplateIDs, @Param("period") Integer period);
List<DataSourceExtendDto> getFormulaDataSource(Long reportID);
......
......@@ -12,7 +12,7 @@ import pwc.taxtech.atms.vat.entity.IndexAnalysisDetailResultExample;
public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -20,7 +20,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -28,7 +28,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -36,7 +36,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -44,7 +44,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -52,23 +52,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
*
* @mbg.generated
*/
List<IndexAnalysisDetailResult> selectByExampleWithBLOBsWithRowbounds(IndexAnalysisDetailResultExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
*
* @mbg.generated
*/
List<IndexAnalysisDetailResult> selectByExampleWithBLOBs(IndexAnalysisDetailResultExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -76,7 +60,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -84,7 +68,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -92,7 +76,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -100,15 +84,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
*
* @mbg.generated
*/
int updateByExampleWithBLOBs(@Param("record") IndexAnalysisDetailResult record, @Param("example") IndexAnalysisDetailResultExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -116,7 +92,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......@@ -124,15 +100,7 @@ public interface IndexAnalysisDetailResultMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
*
* @mbg.generated
*/
int updateByPrimaryKeyWithBLOBs(IndexAnalysisDetailResult record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table IndexAnalysisDetailResult
* This method corresponds to the database table INDEX_ANALYSIS_DETAIL_RESULT
*
* @mbg.generated
*/
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -10,29 +9,31 @@ 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.InputVatTInvoiceExample;
import pwc.taxtech.atms.vat.entity.InputVatInvoiceExample;
import java.util.List;
@Mapper
public interface InputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
long countByExample(InputVatTInvoiceExample example);
long countByExample(InputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
int deleteByExample(InputVatTInvoiceExample example);
int deleteByExample(InputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -40,7 +41,7 @@ public interface InputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -48,7 +49,7 @@ public interface InputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -56,23 +57,23 @@ public interface InputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
List<InputVatInvoice> selectByExampleWithRowbounds(InputVatTInvoiceExample example, RowBounds rowBounds);
List<InputVatInvoice> selectByExampleWithRowbounds(InputVatInvoiceExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
List<InputVatInvoice> selectByExample(InputVatTInvoiceExample example);
List<InputVatInvoice> selectByExample(InputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -80,23 +81,23 @@ public interface InputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") InputVatInvoice record, @Param("example") InputVatTInvoiceExample example);
int updateByExampleSelective(@Param("record") InputVatInvoice record, @Param("example") InputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
int updateByExample(@Param("record") InputVatInvoice record, @Param("example") InputVatTInvoiceExample example);
int updateByExample(@Param("record") InputVatInvoice record, @Param("example") InputVatInvoiceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -104,7 +105,7 @@ public interface InputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
* This method corresponds to the database table INPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -112,9 +113,10 @@ public interface InputVatInvoiceMapper extends MyVatMapper {
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);
List<InputVATInvoiceResultDto> getInputVATInvoiceResultDto(@Param("dbName") String dbName);
List<CellInvoiceDto> selectInputInvoiceWithItem();
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
......@@ -13,11 +12,13 @@ import pwc.taxtech.atms.vat.dpo.QueryOutputDto;
import pwc.taxtech.atms.vat.entity.OutputVatInvoice;
import pwc.taxtech.atms.vat.entity.OutputVatInvoiceExample;
import java.util.List;
@Mapper
public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -25,7 +26,7 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -33,15 +34,15 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
int deleteByPrimaryKey(String invoiceID);
int deleteByPrimaryKey(String invoiceId);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -49,7 +50,7 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -57,7 +58,7 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -65,7 +66,7 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -73,15 +74,15 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
OutputVatInvoice selectByPrimaryKey(String invoiceID);
OutputVatInvoice selectByPrimaryKey(String invoiceId);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -89,7 +90,7 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -97,7 +98,7 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
......@@ -105,13 +106,13 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
* This method corresponds to the database table OUTPUT_VAT_INVOICE
*
* @mbg.generated
*/
int updateByPrimaryKey(OutputVatInvoice record);
List<OutputVATInvoiceInfoDto> selectOutputVATInvoiceInfoLeftJoinItem(@Param("queryDto")QueryOutputDto queryDto);
List<OutputVATInvoiceInfoDto> selectOutputVATInvoiceInfoLeftJoinItem(@Param("queryDto") QueryOutputDto queryDto);
@Select("SELECT " +
" o.PeriodID, " +
......@@ -184,7 +185,7 @@ public interface OutputVatInvoiceMapper extends MyVatMapper {
" ")
List<OutputVATInvoiceInfoDto> queryOutputDetailWithItem(Integer period);
List<OutputVATInvoiceDto> getVatInvoiceWithItems(@Param("dbName")String dbName);
List<OutputVATInvoiceDto> getVatInvoiceWithItems(@Param("dbName") String dbName);
List<OutputInvoiceDataSourceDto> selectOutputInvoiceAndItem();
}
\ No newline at end of file
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -9,11 +8,13 @@ import pwc.taxtech.atms.vat.dpo.PeriodCellTemplateConfigExtendDto;
import pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig;
import pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample;
import java.util.List;
@Mapper
public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -21,7 +22,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -29,7 +30,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -37,7 +38,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -45,7 +46,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -53,7 +54,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -61,7 +62,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -69,7 +70,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -77,7 +78,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -85,7 +86,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -93,7 +94,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -101,7 +102,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table PERIOD_CELL_TEMPLATE_CONFIG
*
* @mbg.generated
*/
......@@ -111,5 +112,7 @@ public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
List<PeriodCellTemplateConfigExtendDto> getPeriodCellTemplateConfigExtendDtos(@Param("list") List<Long> list, @Param("period") Integer period);
PeriodCellTemplateConfig getConfigWithReportTemplateId(@Param("reportTemplateId") Long reportTemplateId,@Param("period")Integer period,@Param("rowIndex")int rowIndex,@Param("columnIndex")int columnIndex);
PeriodCellTemplateConfig getConfigWithReportTemplateId(@Param("reportTemplateId") Long reportTemplateId,
@Param("period") Integer period, @Param("rowIndex") int rowIndex,
@Param("columnIndex") int columnIndex);
}
\ No newline at end of file
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -10,11 +7,14 @@ import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.PeriodCellTemplate;
import pwc.taxtech.atms.vat.entity.PeriodCellTemplateExample;
import java.util.List;
import java.util.Map;
@Mapper
public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -22,7 +22,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -30,7 +30,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -38,7 +38,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -46,7 +46,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -54,7 +54,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -62,7 +62,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -70,7 +70,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -78,7 +78,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -86,7 +86,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -94,7 +94,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......@@ -102,7 +102,7 @@ public interface PeriodCellTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template
* This method corresponds to the database table PERIOD_CELL_TEMPLATE
*
* @mbg.generated
*/
......
......@@ -12,7 +12,7 @@ import pwc.taxtech.atms.vat.entity.PeriodFormulaBlockExample;
public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -20,7 +20,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -28,7 +28,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -36,7 +36,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -44,7 +44,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -52,7 +52,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -60,7 +60,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -68,7 +68,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -76,7 +76,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -84,7 +84,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -92,7 +92,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......@@ -100,7 +100,7 @@ public interface PeriodFormulaBlockMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_formula_block
* This method corresponds to the database table PERIOD_FORMULA_BLOCK
*
* @mbg.generated
*/
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -13,7 +12,7 @@ import pwc.taxtech.atms.vat.entity.PeriodTaxRuleSettingExample;
public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -21,7 +20,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -29,7 +28,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -37,7 +36,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -45,7 +44,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -53,7 +52,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -61,7 +60,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -69,7 +68,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -77,7 +76,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -85,7 +84,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -93,7 +92,7 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
......@@ -101,11 +100,12 @@ public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_tax_rule_setting
* This method corresponds to the database table PERIOD_TAX_RULE_SETTING
*
* @mbg.generated
*/
int updateByPrimaryKey(PeriodTaxRuleSetting record);
List<PeriodTaxRuleSetting> getTaxRuleSetting(@Param("organizationId") String organizationId, @Param("taxName") String taxName, @Param("period") int period);
List<PeriodTaxRuleSetting> getTaxRuleSetting(@Param("organizationId") String organizationId,
@Param("taxName") String taxName, @Param("period") int period);
}
\ No newline at end of file
......@@ -5,7 +5,7 @@ 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.dpo.CellTemplatePerGroupDto;
import pwc.taxtech.atms.vat.dpo.CellTemplatePerGroupDto;
import pwc.taxtech.atms.vat.entity.PeriodTemplate;
import pwc.taxtech.atms.vat.entity.PeriodTemplateExample;
......@@ -13,7 +13,7 @@ import pwc.taxtech.atms.vat.entity.PeriodTemplateExample;
public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -21,7 +21,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -29,7 +29,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -37,7 +37,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -45,7 +45,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -53,7 +53,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -61,7 +61,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -69,7 +69,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -77,7 +77,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -85,7 +85,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -93,7 +93,7 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
......@@ -101,13 +101,12 @@ public interface PeriodTemplateMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_template
* This method corresponds to the database table PERIOD_TEMPLATE
*
* @mbg.generated
*/
int updateByPrimaryKey(PeriodTemplate record);
void batchInsert(List<PeriodTemplate> periodTemplateList);
List<CellTemplatePerGroupDto> getCellTemplatePerGroup(@Param("period") Integer period, @Param("reportTemplateGroupID")Long reportTemplateGroupID);
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
......@@ -11,11 +10,13 @@ import pwc.taxtech.atms.vat.dpo.VoucherBalanceDto;
import pwc.taxtech.atms.vat.entity.ValidationInfo;
import pwc.taxtech.atms.vat.entity.ValidationInfoExample;
import java.util.List;
@Mapper
public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -23,7 +24,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -31,7 +32,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -39,7 +40,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -47,7 +48,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -55,7 +56,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -63,7 +64,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -71,7 +72,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -79,7 +80,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -87,7 +88,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -95,7 +96,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -103,7 +104,7 @@ public interface ValidationInfoMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ValidationInfo
* This method corresponds to the database table VALIDATION_INFO
*
* @mbg.generated
*/
......@@ -133,7 +134,6 @@ public interface ValidationInfoMapper extends MyVatMapper {
"GROUP BY c.AcctCode")
List<VoucherAccountMto> getVoucherAccountChecks();
@Select("SELECT " +
" vv.VID, " +
" vv.Group, " +
......@@ -160,6 +160,5 @@ public interface ValidationInfoMapper extends MyVatMapper {
" HAVING Debit != Credit) q ON vv.VID = q.VID AND vv.Period = q.Period " +
" AND vv.Group = q.Group " +
"")
List<VoucherBalanceDto>getSingleVoucherCheck();
List<VoucherBalanceDto> getSingleVoucherCheck();
}
\ No newline at end of file
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -9,11 +8,13 @@ import pwc.taxtech.atms.vat.dpo.CellVoucherDto;
import pwc.taxtech.atms.vat.entity.Voucher;
import pwc.taxtech.atms.vat.entity.VoucherExample;
import java.util.List;
@Mapper
public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -21,7 +22,7 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -29,15 +30,15 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
int deleteByPrimaryKey(String voucherID);
int deleteByPrimaryKey(String voucherId);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -45,7 +46,7 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -53,7 +54,7 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -61,7 +62,7 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -69,15 +70,15 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
Voucher selectByPrimaryKey(String voucherID);
Voucher selectByPrimaryKey(String voucherId);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -85,7 +86,7 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -93,7 +94,7 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......@@ -101,7 +102,7 @@ public interface VoucherMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table Voucher
* This method corresponds to the database table VOUCHER
*
* @mbg.generated
*/
......
......@@ -15,7 +15,7 @@ public class AssetsList implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ASSETS_LIST.id
* This field corresponds to the database column ASSETS_LIST.ID
*
* @mbg.generated
*/
......@@ -280,7 +280,7 @@ public class AssetsList implements Serializable {
*
* @mbg.generated
*/
private Integer isRetain;
private Boolean isRetain;
/**
*
......@@ -319,9 +319,9 @@ public class AssetsList implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ASSETS_LIST.id
* This method returns the value of the database column ASSETS_LIST.ID
*
* @return the value of ASSETS_LIST.id
* @return the value of ASSETS_LIST.ID
*
* @mbg.generated
*/
......@@ -331,9 +331,9 @@ public class AssetsList implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ASSETS_LIST.id
* This method sets the value of the database column ASSETS_LIST.ID
*
* @param id the value for ASSETS_LIST.id
* @param id the value for ASSETS_LIST.ID
*
* @mbg.generated
*/
......@@ -1021,7 +1021,7 @@ public class AssetsList implements Serializable {
*
* @mbg.generated
*/
public Integer getIsRetain() {
public Boolean getIsRetain() {
return isRetain;
}
......@@ -1033,7 +1033,7 @@ public class AssetsList implements Serializable {
*
* @mbg.generated
*/
public void setIsRetain(Integer isRetain) {
public void setIsRetain(Boolean isRetain) {
this.isRetain = isRetain;
}
......
......@@ -14,7 +14,7 @@ public class PeriodTemplate implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PERIOD_TEMPLATE.id
* This field corresponds to the database column PERIOD_TEMPLATE.ID
*
* @mbg.generated
*/
......@@ -72,7 +72,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
private String templateGroupId;
private Long templateGroupId;
/**
*
......@@ -108,7 +108,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
private Integer isSystemType;
private Boolean isSystemType;
/**
*
......@@ -117,7 +117,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
private Integer isActiveAssociation;
private Boolean isActiveAssociation;
/**
*
......@@ -165,9 +165,9 @@ public class PeriodTemplate implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PERIOD_TEMPLATE.id
* This method returns the value of the database column PERIOD_TEMPLATE.ID
*
* @return the value of PERIOD_TEMPLATE.id
* @return the value of PERIOD_TEMPLATE.ID
*
* @mbg.generated
*/
......@@ -177,9 +177,9 @@ public class PeriodTemplate implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PERIOD_TEMPLATE.id
* This method sets the value of the database column PERIOD_TEMPLATE.ID
*
* @param id the value for PERIOD_TEMPLATE.id
* @param id the value for PERIOD_TEMPLATE.ID
*
* @mbg.generated
*/
......@@ -315,7 +315,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
public String getTemplateGroupId() {
public Long getTemplateGroupId() {
return templateGroupId;
}
......@@ -327,8 +327,8 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
public void setTemplateGroupId(String templateGroupId) {
this.templateGroupId = templateGroupId == null ? null : templateGroupId.trim();
public void setTemplateGroupId(Long templateGroupId) {
this.templateGroupId = templateGroupId;
}
/**
......@@ -411,7 +411,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
public Integer getIsSystemType() {
public Boolean getIsSystemType() {
return isSystemType;
}
......@@ -423,7 +423,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
public void setIsSystemType(Integer isSystemType) {
public void setIsSystemType(Boolean isSystemType) {
this.isSystemType = isSystemType;
}
......@@ -435,7 +435,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
public Integer getIsActiveAssociation() {
public Boolean getIsActiveAssociation() {
return isActiveAssociation;
}
......@@ -447,7 +447,7 @@ public class PeriodTemplate implements Serializable {
*
* @mbg.generated
*/
public void setIsActiveAssociation(Integer isActiveAssociation) {
public void setIsActiveAssociation(Boolean isActiveAssociation) {
this.isActiveAssociation = isActiveAssociation;
}
......
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