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