Commit b28f9fe8 authored by frank.xa.zhang's avatar frank.xa.zhang

add the code for the rule enginee config module

parent 02ab46e3
...@@ -334,15 +334,23 @@ ...@@ -334,15 +334,23 @@
<table tableName="KeyValueConfig" domainObjectName="KeyValueConfig"> <table tableName="KeyValueConfig" domainObjectName="KeyValueConfig">
<property name="useActualColumnNames" value="true" /> <property name="useActualColumnNames" value="true" />
<property name="ignoreQualifiersAtRuntime" value="true" /> <property name="ignoreQualifiersAtRuntime" value="true" />
<columnOverride column="KeyCode" javaType="java.lang.String" jdbcType="VARCHAR" /> <columnOverride column="KeyCode" javaType="java.lang.String"
<columnOverride column="Name" javaType="java.lang.String" jdbcType="VARCHAR" /> jdbcType="VARCHAR" />
<columnOverride column="Formula" javaType="java.lang.String" jdbcType="VARCHAR" /> <columnOverride column="Name" javaType="java.lang.String"
<columnOverride column="Description" javaType="java.lang.String" jdbcType="VARCHAR" /> jdbcType="VARCHAR" />
<columnOverride column="Formula" javaType="java.lang.String"
jdbcType="VARCHAR" />
<columnOverride column="Description" javaType="java.lang.String"
jdbcType="VARCHAR" />
</table> </table>
<table tableName="TemplateGroup" domainObjectName="TemplateGroup"> <table tableName="TemplateGroup" domainObjectName="TemplateGroup">
<property name="useActualColumnNames" value="true" /> <property name="useActualColumnNames" value="true" />
<property name="ignoreQualifiersAtRuntime" value="true" /> <property name="ignoreQualifiersAtRuntime" value="true" />
<columnOverride column="IsSystemType" javaType="Boolean" /> <columnOverride column="IsSystemType" javaType="Boolean" />
</table> </table>
<table tableName="KeyValueReference" domainObjectName="KeyValueReference">
<property name="useActualColumnNames" value="true" />
<property name="ignoreQualifiersAtRuntime" value="true" />
</table>
</context> </context>
</generatorConfiguration> </generatorConfiguration>
\ No newline at end of file
package pwc.taxtech.atms.common;
public enum ApplyScope {
FinancialStatement(1),
TaxReturn (2),
AnalyticsModel(3);
private int value;
ApplyScope(int value) {
this.value = value;
}
public Integer value() {
return value;
}
public static String getName(int value) {
for(ApplyScope module:ApplyScope.values()) {
if(module.value() == value) {
return module.name();
}
}
return null;
}
}
package pwc.taxtech.atms.controller;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.ApiOperation;
import pwc.taxtech.atms.dto.KeyValueConfigDisplayDto;
import pwc.taxtech.atms.service.KeyValueConfigService;
@RestController
@RequestMapping("/api/v1/keyValueConfig")
public class KeyValueConfigController {
private static final Logger logger = LoggerFactory.getLogger(EnterpriseAccountManagerController.class);
@Autowired
private KeyValueConfigService keyValueConfigService;
@ApiOperation(value="get keyValueConfig")
@RequestMapping(value="",method=RequestMethod.GET)
public @ResponseBody List<KeyValueConfigDisplayDto> Get(){
return keyValueConfigService.Get();
}
}
package pwc.taxtech.atms.controller;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.ApiOperation;
import pwc.taxtech.atms.entitiy.TemplateGroup;
import pwc.taxtech.atms.service.TemplateGroupService;
@RestController
@RequestMapping("/api/v1/templateGroup/")
public class TemplateGroupController {
private static final Logger logger = LoggerFactory.getLogger(TemplateGroupController.class);
@Autowired
TemplateGroupService templateGroupService;
@ApiOperation(value = "")
@RequestMapping(value = "getall", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public @ResponseBody List<TemplateGroup> Get() {
logger.debug("TemplateGroupController Get");
return templateGroupService.Get();
}
}
...@@ -105,4 +105,6 @@ public interface KeyValueConfigMapper extends MyMapper { ...@@ -105,4 +105,6 @@ public interface KeyValueConfigMapper extends MyMapper {
* @mbg.generated * @mbg.generated
*/ */
int updateByPrimaryKey(KeyValueConfig record); int updateByPrimaryKey(KeyValueConfig record);
List<KeyValueConfig> SelectKeyValueConfigsByOrderByCreateTime();
} }
\ No newline at end of file
package pwc.taxtech.atms.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entitiy.KeyValueReference;
import pwc.taxtech.atms.entitiy.KeyValueReferenceExample;
@Mapper
public interface KeyValueReferenceMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
long countByExample(KeyValueReferenceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int deleteByExample(KeyValueReferenceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int deleteByPrimaryKey(String ID);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int insert(KeyValueReference record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int insertSelective(KeyValueReference record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
List<KeyValueReference> selectByExampleWithRowbounds(KeyValueReferenceExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
List<KeyValueReference> selectByExample(KeyValueReferenceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
KeyValueReference selectByPrimaryKey(String ID);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") KeyValueReference record, @Param("example") KeyValueReferenceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int updateByExample(@Param("record") KeyValueReference record, @Param("example") KeyValueReferenceExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(KeyValueReference record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
int updateByPrimaryKey(KeyValueReference record);
}
\ No newline at end of file
package pwc.taxtech.atms.dto;
import java.util.List;
import java.util.Map;
public class KeyValueConfigDisplayDto {
private String ID;
private String KeyCode;
private String Name;
private String Formula;
private String Description;
private String ScopeSummary;
private String ServiceTypes;
private String Industrys;
private List<String> ServiceTypeIds;
private List<String> IndustryIds;
private Integer KeyValueType;
private String DataSource;
private Map<Integer, Integer> ScopeCount;
public String getID() {
return ID;
}
public void setID(String ID) {
this.ID = ID;
}
public String getKeyCode() {
return KeyCode;
}
public void setKeyCode(String keyCode) {
KeyCode = keyCode;
}
public String getName() {
return Name;
}
public void setName(String name) {
Name = name;
}
public String getFormula() {
return Formula;
}
public void setFormula(String formula) {
Formula = formula;
}
public String getDescription() {
return Description;
}
public void setDescription(String description) {
Description = description;
}
public String getScopeSummary() {
return ScopeSummary;
}
public void setScopeSummary(String scopeSummary) {
ScopeSummary = scopeSummary;
}
public String getServiceTypes() {
return ServiceTypes;
}
public void setServiceTypes(String serviceTypes) {
ServiceTypes = serviceTypes;
}
public String getIndustrys() {
return Industrys;
}
public void setIndustrys(String industrys) {
Industrys = industrys;
}
public List<String> getServiceTypeIds() {
return ServiceTypeIds;
}
public void setServiceTypeIds(List<String> serviceTypeIds) {
ServiceTypeIds = serviceTypeIds;
}
public List<String> getIndustryIds() {
return IndustryIds;
}
public void setIndustryIds(List<String> industryIds) {
IndustryIds = industryIds;
}
public Integer getKeyValueType() {
return KeyValueType;
}
public void setKeyValueType(Integer keyValueType) {
KeyValueType = keyValueType;
}
public String getDataSource() {
return DataSource;
}
public void setDataSource(String dataSource) {
DataSource = dataSource;
}
public Map<Integer, Integer> getScopeCount() {
return ScopeCount;
}
public void setScopeCount(Map<Integer, Integer> scopeCount) {
ScopeCount = scopeCount;
}
}
package pwc.taxtech.atms.entitiy;
import java.io.Serializable;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table KeyValueReference
*
* @mbg.generated do_not_delete_during_merge
*/
public class KeyValueReference implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column KeyValueReference.ID
*
* @mbg.generated
*/
private String ID;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column KeyValueReference.KeyValueConfigID
*
* @mbg.generated
*/
private String keyValueConfigID;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column KeyValueReference.Scope
*
* @mbg.generated
*/
private Integer scope;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column KeyValueReference.CellTemplateID
*
* @mbg.generated
*/
private String cellTemplateID;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column KeyValueReference.ModelID
*
* @mbg.generated
*/
private String modelID;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column KeyValueReference.OrganizationID
*
* @mbg.generated
*/
private String organizationID;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column KeyValueReference.IndustryID
*
* @mbg.generated
*/
private String industryID;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column KeyValueReference.ID
*
* @return the value of KeyValueReference.ID
*
* @mbg.generated
*/
public String getID() {
return ID;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column KeyValueReference.ID
*
* @param ID the value for KeyValueReference.ID
*
* @mbg.generated
*/
public void setID(String ID) {
this.ID = ID == null ? null : ID.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column KeyValueReference.KeyValueConfigID
*
* @return the value of KeyValueReference.KeyValueConfigID
*
* @mbg.generated
*/
public String getKeyValueConfigID() {
return keyValueConfigID;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column KeyValueReference.KeyValueConfigID
*
* @param keyValueConfigID the value for KeyValueReference.KeyValueConfigID
*
* @mbg.generated
*/
public void setKeyValueConfigID(String keyValueConfigID) {
this.keyValueConfigID = keyValueConfigID == null ? null : keyValueConfigID.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column KeyValueReference.Scope
*
* @return the value of KeyValueReference.Scope
*
* @mbg.generated
*/
public Integer getScope() {
return scope;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column KeyValueReference.Scope
*
* @param scope the value for KeyValueReference.Scope
*
* @mbg.generated
*/
public void setScope(Integer scope) {
this.scope = scope;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column KeyValueReference.CellTemplateID
*
* @return the value of KeyValueReference.CellTemplateID
*
* @mbg.generated
*/
public String getCellTemplateID() {
return cellTemplateID;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column KeyValueReference.CellTemplateID
*
* @param cellTemplateID the value for KeyValueReference.CellTemplateID
*
* @mbg.generated
*/
public void setCellTemplateID(String cellTemplateID) {
this.cellTemplateID = cellTemplateID == null ? null : cellTemplateID.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column KeyValueReference.ModelID
*
* @return the value of KeyValueReference.ModelID
*
* @mbg.generated
*/
public String getModelID() {
return modelID;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column KeyValueReference.ModelID
*
* @param modelID the value for KeyValueReference.ModelID
*
* @mbg.generated
*/
public void setModelID(String modelID) {
this.modelID = modelID == null ? null : modelID.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column KeyValueReference.OrganizationID
*
* @return the value of KeyValueReference.OrganizationID
*
* @mbg.generated
*/
public String getOrganizationID() {
return organizationID;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column KeyValueReference.OrganizationID
*
* @param organizationID the value for KeyValueReference.OrganizationID
*
* @mbg.generated
*/
public void setOrganizationID(String organizationID) {
this.organizationID = organizationID == null ? null : organizationID.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column KeyValueReference.IndustryID
*
* @return the value of KeyValueReference.IndustryID
*
* @mbg.generated
*/
public String getIndustryID() {
return industryID;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column KeyValueReference.IndustryID
*
* @param industryID the value for KeyValueReference.IndustryID
*
* @mbg.generated
*/
public void setIndustryID(String industryID) {
this.industryID = industryID == null ? null : industryID.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", ID=").append(ID);
sb.append(", keyValueConfigID=").append(keyValueConfigID);
sb.append(", scope=").append(scope);
sb.append(", cellTemplateID=").append(cellTemplateID);
sb.append(", modelID=").append(modelID);
sb.append(", organizationID=").append(organizationID);
sb.append(", industryID=").append(industryID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.entitiy;
import java.util.ArrayList;
import java.util.List;
public class KeyValueReferenceExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public KeyValueReferenceExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIDIsNull() {
addCriterion("ID is null");
return (Criteria) this;
}
public Criteria andIDIsNotNull() {
addCriterion("ID is not null");
return (Criteria) this;
}
public Criteria andIDEqualTo(String value) {
addCriterion("ID =", value, "ID");
return (Criteria) this;
}
public Criteria andIDNotEqualTo(String value) {
addCriterion("ID <>", value, "ID");
return (Criteria) this;
}
public Criteria andIDGreaterThan(String value) {
addCriterion("ID >", value, "ID");
return (Criteria) this;
}
public Criteria andIDGreaterThanOrEqualTo(String value) {
addCriterion("ID >=", value, "ID");
return (Criteria) this;
}
public Criteria andIDLessThan(String value) {
addCriterion("ID <", value, "ID");
return (Criteria) this;
}
public Criteria andIDLessThanOrEqualTo(String value) {
addCriterion("ID <=", value, "ID");
return (Criteria) this;
}
public Criteria andIDLike(String value) {
addCriterion("ID like", value, "ID");
return (Criteria) this;
}
public Criteria andIDNotLike(String value) {
addCriterion("ID not like", value, "ID");
return (Criteria) this;
}
public Criteria andIDIn(List<String> values) {
addCriterion("ID in", values, "ID");
return (Criteria) this;
}
public Criteria andIDNotIn(List<String> values) {
addCriterion("ID not in", values, "ID");
return (Criteria) this;
}
public Criteria andIDBetween(String value1, String value2) {
addCriterion("ID between", value1, value2, "ID");
return (Criteria) this;
}
public Criteria andIDNotBetween(String value1, String value2) {
addCriterion("ID not between", value1, value2, "ID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDIsNull() {
addCriterion("KeyValueConfigID is null");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDIsNotNull() {
addCriterion("KeyValueConfigID is not null");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDEqualTo(String value) {
addCriterion("KeyValueConfigID =", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDNotEqualTo(String value) {
addCriterion("KeyValueConfigID <>", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDGreaterThan(String value) {
addCriterion("KeyValueConfigID >", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDGreaterThanOrEqualTo(String value) {
addCriterion("KeyValueConfigID >=", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDLessThan(String value) {
addCriterion("KeyValueConfigID <", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDLessThanOrEqualTo(String value) {
addCriterion("KeyValueConfigID <=", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDLike(String value) {
addCriterion("KeyValueConfigID like", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDNotLike(String value) {
addCriterion("KeyValueConfigID not like", value, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDIn(List<String> values) {
addCriterion("KeyValueConfigID in", values, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDNotIn(List<String> values) {
addCriterion("KeyValueConfigID not in", values, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDBetween(String value1, String value2) {
addCriterion("KeyValueConfigID between", value1, value2, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andKeyValueConfigIDNotBetween(String value1, String value2) {
addCriterion("KeyValueConfigID not between", value1, value2, "keyValueConfigID");
return (Criteria) this;
}
public Criteria andScopeIsNull() {
addCriterion("Scope is null");
return (Criteria) this;
}
public Criteria andScopeIsNotNull() {
addCriterion("Scope is not null");
return (Criteria) this;
}
public Criteria andScopeEqualTo(Integer value) {
addCriterion("Scope =", value, "scope");
return (Criteria) this;
}
public Criteria andScopeNotEqualTo(Integer value) {
addCriterion("Scope <>", value, "scope");
return (Criteria) this;
}
public Criteria andScopeGreaterThan(Integer value) {
addCriterion("Scope >", value, "scope");
return (Criteria) this;
}
public Criteria andScopeGreaterThanOrEqualTo(Integer value) {
addCriterion("Scope >=", value, "scope");
return (Criteria) this;
}
public Criteria andScopeLessThan(Integer value) {
addCriterion("Scope <", value, "scope");
return (Criteria) this;
}
public Criteria andScopeLessThanOrEqualTo(Integer value) {
addCriterion("Scope <=", value, "scope");
return (Criteria) this;
}
public Criteria andScopeIn(List<Integer> values) {
addCriterion("Scope in", values, "scope");
return (Criteria) this;
}
public Criteria andScopeNotIn(List<Integer> values) {
addCriterion("Scope not in", values, "scope");
return (Criteria) this;
}
public Criteria andScopeBetween(Integer value1, Integer value2) {
addCriterion("Scope between", value1, value2, "scope");
return (Criteria) this;
}
public Criteria andScopeNotBetween(Integer value1, Integer value2) {
addCriterion("Scope not between", value1, value2, "scope");
return (Criteria) this;
}
public Criteria andCellTemplateIDIsNull() {
addCriterion("CellTemplateID is null");
return (Criteria) this;
}
public Criteria andCellTemplateIDIsNotNull() {
addCriterion("CellTemplateID is not null");
return (Criteria) this;
}
public Criteria andCellTemplateIDEqualTo(String value) {
addCriterion("CellTemplateID =", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDNotEqualTo(String value) {
addCriterion("CellTemplateID <>", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDGreaterThan(String value) {
addCriterion("CellTemplateID >", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDGreaterThanOrEqualTo(String value) {
addCriterion("CellTemplateID >=", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDLessThan(String value) {
addCriterion("CellTemplateID <", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDLessThanOrEqualTo(String value) {
addCriterion("CellTemplateID <=", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDLike(String value) {
addCriterion("CellTemplateID like", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDNotLike(String value) {
addCriterion("CellTemplateID not like", value, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDIn(List<String> values) {
addCriterion("CellTemplateID in", values, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDNotIn(List<String> values) {
addCriterion("CellTemplateID not in", values, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDBetween(String value1, String value2) {
addCriterion("CellTemplateID between", value1, value2, "cellTemplateID");
return (Criteria) this;
}
public Criteria andCellTemplateIDNotBetween(String value1, String value2) {
addCriterion("CellTemplateID not between", value1, value2, "cellTemplateID");
return (Criteria) this;
}
public Criteria andModelIDIsNull() {
addCriterion("ModelID is null");
return (Criteria) this;
}
public Criteria andModelIDIsNotNull() {
addCriterion("ModelID is not null");
return (Criteria) this;
}
public Criteria andModelIDEqualTo(String value) {
addCriterion("ModelID =", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDNotEqualTo(String value) {
addCriterion("ModelID <>", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDGreaterThan(String value) {
addCriterion("ModelID >", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDGreaterThanOrEqualTo(String value) {
addCriterion("ModelID >=", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDLessThan(String value) {
addCriterion("ModelID <", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDLessThanOrEqualTo(String value) {
addCriterion("ModelID <=", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDLike(String value) {
addCriterion("ModelID like", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDNotLike(String value) {
addCriterion("ModelID not like", value, "modelID");
return (Criteria) this;
}
public Criteria andModelIDIn(List<String> values) {
addCriterion("ModelID in", values, "modelID");
return (Criteria) this;
}
public Criteria andModelIDNotIn(List<String> values) {
addCriterion("ModelID not in", values, "modelID");
return (Criteria) this;
}
public Criteria andModelIDBetween(String value1, String value2) {
addCriterion("ModelID between", value1, value2, "modelID");
return (Criteria) this;
}
public Criteria andModelIDNotBetween(String value1, String value2) {
addCriterion("ModelID not between", value1, value2, "modelID");
return (Criteria) this;
}
public Criteria andOrganizationIDIsNull() {
addCriterion("OrganizationID is null");
return (Criteria) this;
}
public Criteria andOrganizationIDIsNotNull() {
addCriterion("OrganizationID is not null");
return (Criteria) this;
}
public Criteria andOrganizationIDEqualTo(String value) {
addCriterion("OrganizationID =", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDNotEqualTo(String value) {
addCriterion("OrganizationID <>", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDGreaterThan(String value) {
addCriterion("OrganizationID >", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDGreaterThanOrEqualTo(String value) {
addCriterion("OrganizationID >=", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDLessThan(String value) {
addCriterion("OrganizationID <", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDLessThanOrEqualTo(String value) {
addCriterion("OrganizationID <=", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDLike(String value) {
addCriterion("OrganizationID like", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDNotLike(String value) {
addCriterion("OrganizationID not like", value, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDIn(List<String> values) {
addCriterion("OrganizationID in", values, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDNotIn(List<String> values) {
addCriterion("OrganizationID not in", values, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDBetween(String value1, String value2) {
addCriterion("OrganizationID between", value1, value2, "organizationID");
return (Criteria) this;
}
public Criteria andOrganizationIDNotBetween(String value1, String value2) {
addCriterion("OrganizationID not between", value1, value2, "organizationID");
return (Criteria) this;
}
public Criteria andIndustryIDIsNull() {
addCriterion("IndustryID is null");
return (Criteria) this;
}
public Criteria andIndustryIDIsNotNull() {
addCriterion("IndustryID is not null");
return (Criteria) this;
}
public Criteria andIndustryIDEqualTo(String value) {
addCriterion("IndustryID =", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDNotEqualTo(String value) {
addCriterion("IndustryID <>", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDGreaterThan(String value) {
addCriterion("IndustryID >", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDGreaterThanOrEqualTo(String value) {
addCriterion("IndustryID >=", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDLessThan(String value) {
addCriterion("IndustryID <", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDLessThanOrEqualTo(String value) {
addCriterion("IndustryID <=", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDLike(String value) {
addCriterion("IndustryID like", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDNotLike(String value) {
addCriterion("IndustryID not like", value, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDIn(List<String> values) {
addCriterion("IndustryID in", values, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDNotIn(List<String> values) {
addCriterion("IndustryID not in", values, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDBetween(String value1, String value2) {
addCriterion("IndustryID between", value1, value2, "industryID");
return (Criteria) this;
}
public Criteria andIndustryIDNotBetween(String value1, String value2) {
addCriterion("IndustryID not between", value1, value2, "industryID");
return (Criteria) this;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table KeyValueReference
*
* @mbg.generated do_not_delete_during_merge
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table KeyValueReference
*
* @mbg.generated
*/
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
\ No newline at end of file
package pwc.taxtech.atms.service;
import java.util.List;
import pwc.taxtech.atms.dto.KeyValueConfigDisplayDto;
public interface KeyValueConfigService {
List<KeyValueConfigDisplayDto> Get();
}
package pwc.taxtech.atms.service;
import java.util.List;
import pwc.taxtech.atms.entitiy.TemplateGroup;
public interface TemplateGroupService {
List<TemplateGroup> Get();
}
...@@ -20,6 +20,8 @@ import pwc.taxtech.atms.dao.EnterpriseAccountMapper; ...@@ -20,6 +20,8 @@ import pwc.taxtech.atms.dao.EnterpriseAccountMapper;
import pwc.taxtech.atms.dao.EnterpriseAccountSetMapper; import pwc.taxtech.atms.dao.EnterpriseAccountSetMapper;
import pwc.taxtech.atms.dao.EnterpriseAccountSetOrgMapper; import pwc.taxtech.atms.dao.EnterpriseAccountSetOrgMapper;
import pwc.taxtech.atms.dao.IndustryMapper; import pwc.taxtech.atms.dao.IndustryMapper;
import pwc.taxtech.atms.dao.KeyValueConfigMapper;
import pwc.taxtech.atms.dao.KeyValueReferenceMapper;
import pwc.taxtech.atms.dao.MailQueueMapper; import pwc.taxtech.atms.dao.MailQueueMapper;
import pwc.taxtech.atms.dao.MenuMapper; import pwc.taxtech.atms.dao.MenuMapper;
import pwc.taxtech.atms.dao.MyStatisticAttributeMapper; import pwc.taxtech.atms.dao.MyStatisticAttributeMapper;
...@@ -42,6 +44,7 @@ import pwc.taxtech.atms.dao.StockMapper; ...@@ -42,6 +44,7 @@ import pwc.taxtech.atms.dao.StockMapper;
import pwc.taxtech.atms.dao.TaxPayerReportRuleMapper; import pwc.taxtech.atms.dao.TaxPayerReportRuleMapper;
import pwc.taxtech.atms.dao.TaxRuleSettingMapper; import pwc.taxtech.atms.dao.TaxRuleSettingMapper;
import pwc.taxtech.atms.dao.TaxRuleSettingOrganizationMapper; import pwc.taxtech.atms.dao.TaxRuleSettingOrganizationMapper;
import pwc.taxtech.atms.dao.TemplateGroupMapper;
import pwc.taxtech.atms.dao.UserDimensionValueMapper; import pwc.taxtech.atms.dao.UserDimensionValueMapper;
import pwc.taxtech.atms.dao.UserDimensionValueOrgMapper; import pwc.taxtech.atms.dao.UserDimensionValueOrgMapper;
import pwc.taxtech.atms.dao.UserDimensionValueRoleMapper; import pwc.taxtech.atms.dao.UserDimensionValueRoleMapper;
...@@ -147,4 +150,10 @@ public class AbstractService { ...@@ -147,4 +150,10 @@ public class AbstractService {
protected TaxRuleSettingOrganizationMapper taxRuleSettingOrganizationMapper; protected TaxRuleSettingOrganizationMapper taxRuleSettingOrganizationMapper;
@Autowired @Autowired
protected OrganizationServiceTemplateGroupMapper organizationServiceTemplateGroupMapper; protected OrganizationServiceTemplateGroupMapper organizationServiceTemplateGroupMapper;
@Autowired
protected TemplateGroupMapper templateGroupMapper;
@Autowired
protected KeyValueConfigMapper keyValueConfigMapper;
@Autowired
protected KeyValueReferenceMapper keyValueReferenceMapper;
} }
package pwc.taxtech.atms.service.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import com.alibaba.druid.util.StringUtils;
import pwc.taxtech.atms.common.ApplyScope;
import pwc.taxtech.atms.common.CommonUtils;
import pwc.taxtech.atms.dto.KeyValueConfigDisplayDto;
import pwc.taxtech.atms.entitiy.IndustryExample;
import pwc.taxtech.atms.entitiy.KeyValueConfig;
import pwc.taxtech.atms.entitiy.KeyValueReference;
import pwc.taxtech.atms.entitiy.KeyValueReferenceExample;
import pwc.taxtech.atms.entitiy.ServiceTypeExample;
import pwc.taxtech.atms.service.KeyValueConfigService;
@Service
public class KeyValueConfigServiceImpl extends AbstractService implements KeyValueConfigService {
private static final Logger logger = LoggerFactory.getLogger(KeyValueConfigServiceImpl.class);
@Override
public List<KeyValueConfigDisplayDto> Get() {
List<KeyValueConfig> list = keyValueConfigMapper.SelectKeyValueConfigsByOrderByCreateTime();
List<KeyValueConfigDisplayDto> result = new ArrayList<KeyValueConfigDisplayDto>();
if (list.size() > 0) {
Map<String, String> industryList = new HashMap<String, String>();
industryMapper.selectByExample(new IndustryExample()).stream()
.map(item -> industryList.put(item.getID(), item.getName())).collect(Collectors.toList());
Map<String, String> serviceType = new HashMap<String, String>();
serviceTypeMapper.selectByExample(new ServiceTypeExample()).stream()
.map(item -> serviceType.put(item.getID(), item.getName())).collect(Collectors.toList());
List<KeyValueReference> scopes = keyValueReferenceMapper.selectByExample(new KeyValueReferenceExample());
for (KeyValueConfig keyValueConfig : list) {
KeyValueConfigDisplayDto dtoObj = new KeyValueConfigDisplayDto();
CommonUtils.copyProperties(keyValueConfig, dtoObj);
dtoObj.setServiceTypes(GetNamesByIDs(keyValueConfig.getServiceTypeIDs(), serviceType));
dtoObj.setIndustrys(GetNamesByIDs(keyValueConfig.getIndustryIDs(), industryList));
dtoObj.setIndustryIds(Arrays.asList(keyValueConfig.getIndustryIDs().split(",")));
dtoObj.setServiceTypeIds(Arrays.asList(keyValueConfig.getServiceTypeIDs().split(",")));
List<KeyValueReference> selectScopeList = scopes.stream()
.filter(item -> item.getKeyValueConfigID() == item.getID()).collect(Collectors.toList());
List<Integer> selectScopes = selectScopeList.stream().map(item -> item.getScope()).distinct()
.collect(Collectors.toList());
Map<Integer, Integer> scopeCount = new HashMap<Integer,Integer>();
if(selectScopeList!=null&&selectScopeList.size()>0) {
for(Integer selectScope :selectScopes) {
Integer count = (int)(selectScopeList.stream().filter(a->a.getScope()==selectScope).count());
scopeCount.put(selectScope, count);
}
}
dtoObj.setScopeCount(scopeCount);
dtoObj.setScopeSummary(JointToString(selectScopes));
result.add(dtoObj);
}
}
return result;
}
private String JointToString(List<Integer> selectScopes) {
StringBuilder scopeBuilder = new StringBuilder();
for (Integer selectScope : selectScopes) {
scopeBuilder.append(ApplyScope.getName(selectScope)).append(",");
}
return scopeBuilder.length() > 0 ? scopeBuilder.toString().substring(0, scopeBuilder.length() - 2) : "";
}
private String GetNamesByIDs(String source, Map<String, String> queryList) {
if (StringUtils.isEmpty(source)) {
return source;
}
String[] sArray = source.split(",");
List<String> sName = new ArrayList<String>();
for (String s : sArray) {
if (queryList.containsKey(s)) {
sName.add(queryList.get(s));
}
}
StringBuilder retStr = new StringBuilder();
sName.stream().forEach(s -> retStr.append(s + ","));
return retStr.toString().substring(0, retStr.length() - 2);
}
}
package pwc.taxtech.atms.service.impl;
import java.util.List;
import org.springframework.stereotype.Service;
import pwc.taxtech.atms.entitiy.TemplateGroup;
import pwc.taxtech.atms.entitiy.TemplateGroupExample;
import pwc.taxtech.atms.service.TemplateGroupService;
@Service
public class TemplateGroupServiceImpl extends AbstractService implements TemplateGroupService {
@Override
public List<TemplateGroup> Get() {
return templateGroupMapper.selectByExample(new TemplateGroupExample());
}
}
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.dao.KeyValueConfigMapper"> <mapper namespace="pwc.taxtech.atms.dao.KeyValueConfigMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.entitiy.KeyValueConfig"> <resultMap id="BaseResultMap" type="pwc.taxtech.atms.entitiy.KeyValueConfig">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="ID" jdbcType="VARCHAR" property="ID" /> <id column="ID" jdbcType="VARCHAR" property="ID" />
<result column="KeyCode" jdbcType="VARCHAR" property="keyCode" /> <result column="KeyCode" jdbcType="VARCHAR" property="keyCode" />
<result column="Name" jdbcType="VARCHAR" property="name" /> <result column="Name" jdbcType="VARCHAR" property="name" />
...@@ -24,10 +22,8 @@ ...@@ -24,10 +22,8 @@
<result column="DataSource" jdbcType="VARCHAR" property="dataSource" /> <result column="DataSource" jdbcType="VARCHAR" property="dataSource" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where> <where>
<foreach collection="oredCriteria" item="criteria" separator="or"> <foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid"> <if test="criteria.valid">
...@@ -41,11 +37,14 @@ ...@@ -41,11 +37,14 @@
and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value}
</when> </when>
<when test="criterion.betweenValue"> <when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{criterion.value}
and
#{criterion.secondValue}
</when> </when>
<when test="criterion.listValue"> <when test="criterion.listValue">
and ${criterion.condition} and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> <foreach close=")" collection="criterion.value" item="listItem"
open="(" separator=",">
#{listItem} #{listItem}
</foreach> </foreach>
</when> </when>
...@@ -57,12 +56,11 @@ ...@@ -57,12 +56,11 @@
</where> </where>
</sql> </sql>
<sql id="Update_By_Example_Where_Clause"> <sql id="Update_By_Example_Where_Clause">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where> <where>
<foreach collection="example.oredCriteria" item="criteria" separator="or"> <foreach collection="example.oredCriteria" item="criteria"
separator="or">
<if test="criteria.valid"> <if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")"> <trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion"> <foreach collection="criteria.criteria" item="criterion">
...@@ -74,11 +72,14 @@ ...@@ -74,11 +72,14 @@
and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value}
</when> </when>
<when test="criterion.betweenValue"> <when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{criterion.value}
and
#{criterion.secondValue}
</when> </when>
<when test="criterion.listValue"> <when test="criterion.listValue">
and ${criterion.condition} and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> <foreach close=")" collection="criterion.value" item="listItem"
open="(" separator=",">
#{listItem} #{listItem}
</foreach> </foreach>
</when> </when>
...@@ -90,19 +91,18 @@ ...@@ -90,19 +91,18 @@
</where> </where>
</sql> </sql>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify. ID, KeyCode, Name, KeyValueType, Formula, IsConstant, CalculateStatus,
--> ResultType,
ID, KeyCode, Name, KeyValueType, Formula, IsConstant, CalculateStatus, ResultType, ServiceTypeIDs, IndustryIDs, Description, Creator,
ServiceTypeIDs, IndustryIDs, Description, Creator, CreateTime, Updator, UpdateTime, CreateTime, Updator, UpdateTime,
DataSource DataSource
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample"
<!-- resultMap="BaseResultMap">
WARNING - @mbg.generated <!-- WARNING - @mbg.generated This element is automatically generated by
This element is automatically generated by MyBatis Generator, do not modify. MyBatis Generator, do not modify. -->
-->
select select
<if test="distinct"> <if test="distinct">
distinct distinct
...@@ -116,57 +116,55 @@ ...@@ -116,57 +116,55 @@
order by ${orderByClause} order by ${orderByClause}
</if> </if>
</select> </select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.String"
<!-- resultMap="BaseResultMap">
WARNING - @mbg.generated <!-- WARNING - @mbg.generated This element is automatically generated by
This element is automatically generated by MyBatis Generator, do not modify. MyBatis Generator, do not modify. -->
-->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from KeyValueConfig from KeyValueConfig
where ID = #{ID,jdbcType=VARCHAR} where ID = #{ID,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from KeyValueConfig delete from KeyValueConfig
where ID = #{ID,jdbcType=VARCHAR} where ID = #{ID,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from KeyValueConfig delete from KeyValueConfig
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</delete> </delete>
<insert id="insert" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig"> <insert id="insert" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into KeyValueConfig (ID, KeyCode, Name, insert into KeyValueConfig (ID, KeyCode, Name,
KeyValueType, Formula, IsConstant, KeyValueType, Formula,
IsConstant,
CalculateStatus, ResultType, ServiceTypeIDs, CalculateStatus, ResultType, ServiceTypeIDs,
IndustryIDs, Description, Creator, IndustryIDs,
Description, Creator,
CreateTime, Updator, UpdateTime, CreateTime, Updator, UpdateTime,
DataSource) DataSource)
values (#{ID,jdbcType=VARCHAR}, #{keyCode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, values (#{ID,jdbcType=VARCHAR}, #{keyCode,jdbcType=VARCHAR},
#{keyValueType,jdbcType=INTEGER}, #{formula,jdbcType=VARCHAR}, #{isConstant,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR},
#{calculateStatus,jdbcType=INTEGER}, #{resultType,jdbcType=INTEGER}, #{serviceTypeIDs,jdbcType=VARCHAR}, #{keyValueType,jdbcType=INTEGER},
#{industryIDs,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{creator,jdbcType=VARCHAR}, #{formula,jdbcType=VARCHAR}, #{isConstant,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updator,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{calculateStatus,jdbcType=INTEGER}, #{resultType,jdbcType=INTEGER},
#{serviceTypeIDs,jdbcType=VARCHAR},
#{industryIDs,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR}, #{creator,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updator,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{dataSource,jdbcType=VARCHAR}) #{dataSource,jdbcType=VARCHAR})
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into KeyValueConfig insert into KeyValueConfig
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="ID != null">
...@@ -269,21 +267,18 @@ ...@@ -269,21 +267,18 @@
</if> </if>
</trim> </trim>
</insert> </insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample"
<!-- resultType="java.lang.Long">
WARNING - @mbg.generated <!-- WARNING - @mbg.generated This element is automatically generated by
This element is automatically generated by MyBatis Generator, do not modify. MyBatis Generator, do not modify. -->
-->
select count(*) from KeyValueConfig select count(*) from KeyValueConfig
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</select> </select>
<update id="updateByExampleSelective" parameterType="map"> <update id="updateByExampleSelective" parameterType="map">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueConfig update KeyValueConfig
<set> <set>
<if test="record.ID != null"> <if test="record.ID != null">
...@@ -305,13 +300,15 @@ ...@@ -305,13 +300,15 @@
IsConstant = #{record.isConstant,jdbcType=INTEGER}, IsConstant = #{record.isConstant,jdbcType=INTEGER},
</if> </if>
<if test="record.calculateStatus != null"> <if test="record.calculateStatus != null">
CalculateStatus = #{record.calculateStatus,jdbcType=INTEGER}, CalculateStatus =
#{record.calculateStatus,jdbcType=INTEGER},
</if> </if>
<if test="record.resultType != null"> <if test="record.resultType != null">
ResultType = #{record.resultType,jdbcType=INTEGER}, ResultType = #{record.resultType,jdbcType=INTEGER},
</if> </if>
<if test="record.serviceTypeIDs != null"> <if test="record.serviceTypeIDs != null">
ServiceTypeIDs = #{record.serviceTypeIDs,jdbcType=VARCHAR}, ServiceTypeIDs =
#{record.serviceTypeIDs,jdbcType=VARCHAR},
</if> </if>
<if test="record.industryIDs != null"> <if test="record.industryIDs != null">
IndustryIDs = #{record.industryIDs,jdbcType=VARCHAR}, IndustryIDs = #{record.industryIDs,jdbcType=VARCHAR},
...@@ -340,36 +337,47 @@ ...@@ -340,36 +337,47 @@
</if> </if>
</update> </update>
<update id="updateByExample" parameterType="map"> <update id="updateByExample" parameterType="map">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueConfig update KeyValueConfig
set ID = #{record.ID,jdbcType=VARCHAR}, set ID = #{record.ID,jdbcType=VARCHAR},
KeyCode = #{record.keyCode,jdbcType=VARCHAR}, KeyCode =
Name = #{record.name,jdbcType=VARCHAR}, #{record.keyCode,jdbcType=VARCHAR},
KeyValueType = #{record.keyValueType,jdbcType=INTEGER}, Name =
Formula = #{record.formula,jdbcType=VARCHAR}, #{record.name,jdbcType=VARCHAR},
IsConstant = #{record.isConstant,jdbcType=INTEGER}, KeyValueType =
CalculateStatus = #{record.calculateStatus,jdbcType=INTEGER}, #{record.keyValueType,jdbcType=INTEGER},
ResultType = #{record.resultType,jdbcType=INTEGER}, Formula =
ServiceTypeIDs = #{record.serviceTypeIDs,jdbcType=VARCHAR}, #{record.formula,jdbcType=VARCHAR},
IndustryIDs = #{record.industryIDs,jdbcType=VARCHAR}, IsConstant =
Description = #{record.description,jdbcType=VARCHAR}, #{record.isConstant,jdbcType=INTEGER},
Creator = #{record.creator,jdbcType=VARCHAR}, CalculateStatus =
CreateTime = #{record.createTime,jdbcType=TIMESTAMP}, #{record.calculateStatus,jdbcType=INTEGER},
Updator = #{record.updator,jdbcType=VARCHAR}, ResultType =
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP}, #{record.resultType,jdbcType=INTEGER},
DataSource = #{record.dataSource,jdbcType=VARCHAR} ServiceTypeIDs =
#{record.serviceTypeIDs,jdbcType=VARCHAR},
IndustryIDs =
#{record.industryIDs,jdbcType=VARCHAR},
Description =
#{record.description,jdbcType=VARCHAR},
Creator =
#{record.creator,jdbcType=VARCHAR},
CreateTime =
#{record.createTime,jdbcType=TIMESTAMP},
Updator =
#{record.updator,jdbcType=VARCHAR},
UpdateTime =
#{record.updateTime,jdbcType=TIMESTAMP},
DataSource =
#{record.dataSource,jdbcType=VARCHAR}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
</update> </update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig"> <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueConfig update KeyValueConfig
<set> <set>
<if test="keyCode != null"> <if test="keyCode != null">
...@@ -421,33 +429,42 @@ ...@@ -421,33 +429,42 @@
where ID = #{ID,jdbcType=VARCHAR} where ID = #{ID,jdbcType=VARCHAR}
</update> </update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig"> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfig">
<!-- <!-- WARNING - @mbg.generated This element is automatically generated by
WARNING - @mbg.generated MyBatis Generator, do not modify. -->
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueConfig update KeyValueConfig
set KeyCode = #{keyCode,jdbcType=VARCHAR}, set KeyCode = #{keyCode,jdbcType=VARCHAR},
Name = #{name,jdbcType=VARCHAR}, Name =
KeyValueType = #{keyValueType,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR},
Formula = #{formula,jdbcType=VARCHAR}, KeyValueType =
IsConstant = #{isConstant,jdbcType=INTEGER}, #{keyValueType,jdbcType=INTEGER},
CalculateStatus = #{calculateStatus,jdbcType=INTEGER}, Formula =
ResultType = #{resultType,jdbcType=INTEGER}, #{formula,jdbcType=VARCHAR},
ServiceTypeIDs = #{serviceTypeIDs,jdbcType=VARCHAR}, IsConstant =
IndustryIDs = #{industryIDs,jdbcType=VARCHAR}, #{isConstant,jdbcType=INTEGER},
Description = #{description,jdbcType=VARCHAR}, CalculateStatus =
#{calculateStatus,jdbcType=INTEGER},
ResultType =
#{resultType,jdbcType=INTEGER},
ServiceTypeIDs =
#{serviceTypeIDs,jdbcType=VARCHAR},
IndustryIDs =
#{industryIDs,jdbcType=VARCHAR},
Description =
#{description,jdbcType=VARCHAR},
Creator = #{creator,jdbcType=VARCHAR}, Creator = #{creator,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP}, CreateTime = #{createTime,jdbcType=TIMESTAMP},
Updator = #{updator,jdbcType=VARCHAR}, Updator =
UpdateTime = #{updateTime,jdbcType=TIMESTAMP}, #{updator,jdbcType=VARCHAR},
DataSource = #{dataSource,jdbcType=VARCHAR} UpdateTime =
#{updateTime,jdbcType=TIMESTAMP},
DataSource =
#{dataSource,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR} where ID = #{ID,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entitiy.KeyValueConfigExample"
<!-- resultMap="BaseResultMap">
WARNING - @mbg.generated <!-- WARNING - @mbg.generated This element is automatically generated by
This element is automatically generated by MyBatis Generator, do not modify. MyBatis Generator, do not modify. -->
-->
select select
<if test="distinct"> <if test="distinct">
distinct distinct
...@@ -461,4 +478,23 @@ ...@@ -461,4 +478,23 @@
order by ${orderByClause} order by ${orderByClause}
</if> </if>
</select> </select>
<select id="SelectKeyValueConfigsByOrderByCreateTime" resultMap="BaseResultMap">
SELECT KeyValueConfig.ID,
KeyValueConfig.KeyCode,
KeyValueConfig.Name,
KeyValueConfig.KeyValueType,
KeyValueConfig.Formula,
KeyValueConfig.IsConstant,
KeyValueConfig.CalculateStatus,
KeyValueConfig.ResultType,
KeyValueConfig.ServiceTypeIDs,
KeyValueConfig.IndustryIDs,
KeyValueConfig.Description,
KeyValueConfig.Creator,
KeyValueConfig.CreateTime,
KeyValueConfig.Updator,
KeyValueConfig.UpdateTime,
KeyValueConfig.DataSource
FROM tax_admin.KeyValueConfig order by KeyValueConfig.createtime
</select>
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.dao.KeyValueReferenceMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.entitiy.KeyValueReference">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="ID" jdbcType="VARCHAR" property="ID" />
<result column="KeyValueConfigID" jdbcType="VARCHAR" property="keyValueConfigID" />
<result column="Scope" jdbcType="INTEGER" property="scope" />
<result column="CellTemplateID" jdbcType="VARCHAR" property="cellTemplateID" />
<result column="ModelID" jdbcType="VARCHAR" property="modelID" />
<result column="OrganizationID" jdbcType="VARCHAR" property="organizationID" />
<result column="IndustryID" jdbcType="VARCHAR" property="industryID" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
ID, KeyValueConfigID, Scope, CellTemplateID, ModelID, OrganizationID, IndustryID
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueReferenceExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from KeyValueReference
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from KeyValueReference
where ID = #{ID,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from KeyValueReference
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueReferenceExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from KeyValueReference
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.entitiy.KeyValueReference">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into KeyValueReference (ID, KeyValueConfigID, Scope,
CellTemplateID, ModelID, OrganizationID,
IndustryID)
values (#{ID,jdbcType=VARCHAR}, #{keyValueConfigID,jdbcType=VARCHAR}, #{scope,jdbcType=INTEGER},
#{cellTemplateID,jdbcType=VARCHAR}, #{modelID,jdbcType=VARCHAR}, #{organizationID,jdbcType=VARCHAR},
#{industryID,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entitiy.KeyValueReference">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into KeyValueReference
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null">
ID,
</if>
<if test="keyValueConfigID != null">
KeyValueConfigID,
</if>
<if test="scope != null">
Scope,
</if>
<if test="cellTemplateID != null">
CellTemplateID,
</if>
<if test="modelID != null">
ModelID,
</if>
<if test="organizationID != null">
OrganizationID,
</if>
<if test="industryID != null">
IndustryID,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ID != null">
#{ID,jdbcType=VARCHAR},
</if>
<if test="keyValueConfigID != null">
#{keyValueConfigID,jdbcType=VARCHAR},
</if>
<if test="scope != null">
#{scope,jdbcType=INTEGER},
</if>
<if test="cellTemplateID != null">
#{cellTemplateID,jdbcType=VARCHAR},
</if>
<if test="modelID != null">
#{modelID,jdbcType=VARCHAR},
</if>
<if test="organizationID != null">
#{organizationID,jdbcType=VARCHAR},
</if>
<if test="industryID != null">
#{industryID,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.entitiy.KeyValueReferenceExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from KeyValueReference
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueReference
<set>
<if test="record.ID != null">
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if test="record.keyValueConfigID != null">
KeyValueConfigID = #{record.keyValueConfigID,jdbcType=VARCHAR},
</if>
<if test="record.scope != null">
Scope = #{record.scope,jdbcType=INTEGER},
</if>
<if test="record.cellTemplateID != null">
CellTemplateID = #{record.cellTemplateID,jdbcType=VARCHAR},
</if>
<if test="record.modelID != null">
ModelID = #{record.modelID,jdbcType=VARCHAR},
</if>
<if test="record.organizationID != null">
OrganizationID = #{record.organizationID,jdbcType=VARCHAR},
</if>
<if test="record.industryID != null">
IndustryID = #{record.industryID,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueReference
set ID = #{record.ID,jdbcType=VARCHAR},
KeyValueConfigID = #{record.keyValueConfigID,jdbcType=VARCHAR},
Scope = #{record.scope,jdbcType=INTEGER},
CellTemplateID = #{record.cellTemplateID,jdbcType=VARCHAR},
ModelID = #{record.modelID,jdbcType=VARCHAR},
OrganizationID = #{record.organizationID,jdbcType=VARCHAR},
IndustryID = #{record.industryID,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.entitiy.KeyValueReference">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueReference
<set>
<if test="keyValueConfigID != null">
KeyValueConfigID = #{keyValueConfigID,jdbcType=VARCHAR},
</if>
<if test="scope != null">
Scope = #{scope,jdbcType=INTEGER},
</if>
<if test="cellTemplateID != null">
CellTemplateID = #{cellTemplateID,jdbcType=VARCHAR},
</if>
<if test="modelID != null">
ModelID = #{modelID,jdbcType=VARCHAR},
</if>
<if test="organizationID != null">
OrganizationID = #{organizationID,jdbcType=VARCHAR},
</if>
<if test="industryID != null">
IndustryID = #{industryID,jdbcType=VARCHAR},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entitiy.KeyValueReference">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update KeyValueReference
set KeyValueConfigID = #{keyValueConfigID,jdbcType=VARCHAR},
Scope = #{scope,jdbcType=INTEGER},
CellTemplateID = #{cellTemplateID,jdbcType=VARCHAR},
ModelID = #{modelID,jdbcType=VARCHAR},
OrganizationID = #{organizationID,jdbcType=VARCHAR},
IndustryID = #{industryID,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entitiy.KeyValueReferenceExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from KeyValueReference
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
{ {
"@HowToUse": "在提交前,使用PWC.sortJson()对json内容进行排序", "@HowToUse": "在提交前,使用PWC.sortJson()对json内容进行排序",
"APPTodoListConfigOTDisplayItemCount": "显示条数",
"APPTodoListConfigOTHTL": "由高到低",
"APPTodoListConfigOTLTH": "由低到高",
"APPTodoListConfigOTOnlyUnread": "仅未读",
"APPTodoListConfigOTOrderByPriority": "按优先级",
"APPTodoListConfigOTOrderByTime": "按发送时间",
"APPTodoListConfigOTTitle": "待办事项配置",
"AccessControl": "访问控制", "AccessControl": "访问控制",
"Accessable": "可访问", "Accessible": "可访问",
"Account": "科目", "Account": "科目",
"AccountDirection": "科目方向",
"AccountJudgementFormula": "科目判断公式",
"AccountPeriod": "会计期间", "AccountPeriod": "会计期间",
"AccountProperty": "科目性质",
"AccountsInformation": "票账信息",
"AcctProp": "科目类型", "AcctProp": "科目类型",
"AccumulativeAmortization": "会计累计摊销额",
"AccumulativeDepreciation": "会计累计折旧额",
"AccumulativeTaxDepreciation": "累计税法折旧",
"Accumulativedepreciation": "Accumulative depreciation",
"Accumulativetaxdepreciation": "Accumulative tax depreciation",
"Action": "操作",
"Actions": "操作",
"Add": "添加", "Add": "添加",
"AddChart": "添加图表", "AddChart": "添加图表",
"AddChartButton": "确认添加", "AddChartButton": "确认添加",
"AddDataSource": "添加数据源", "AddDataSource": "添加数据源",
"AddExistingReport": "添加现有报表",
"AddReport": "添加报表",
"AddSuccess": "添加成功!", "AddSuccess": "添加成功!",
"AddTemplate": "添加模板",
"AddWidget": "添加",
"AdjustmentItems": "调整项",
"AdjustmentSummaryInCurrentPeriod": "当期所得税调整项明细表",
"AdvancedSearch": "更多搜索条件", "AdvancedSearch": "更多搜索条件",
"AdvertisingExpense": "广告费",
"AdvertisingExpenses": "广告费",
"After": "After",
"AlertDetail": "警示明细",
"AlertMap": "警示地图",
"All": "所有", "All": "所有",
"AlreadyCompleted": "已完成", "AlreadyCompleted": "已完成",
"Amortization(m)": "会计摊销月份",
"AmortizationInCurrentYear": "本年度会计摊销额",
"Amount": "金额",
"AmountColon": "金额:",
"AmountJudgement": "分录比较公式",
"AmountType": "取值", "AmountType": "取值",
"Analytics": "利润预测",
"AnalyzeReportLog": "日志",
"AnnualIndex": "年度计算值",
"Anticounterfeiting": "防伪税控企业相关材料",
"AnyPasswordCanNotEmpty": "任何一个密码都不能为空!", "AnyPasswordCanNotEmpty": "任何一个密码都不能为空!",
"ApplicationScope": "应用范围", "ApplicationScope": "应用范围",
"ApplyService": "适用服务", "ApplyService": "适用服务",
"ApplyServiceColon": "适用服务:",
"Area": "区域",
"AreaDesc": "区域", "AreaDesc": "区域",
"AreaID": "区域", "AreaID": "区域",
"AreaRegion": "下属地区", "AreaRegion": "下属地区",
"Asset": "资产", "Asset": "资产",
"AssetImpairmentLoss": "资产减值损失",
"AssetItem": "固定资产名称",
"AssetList": "资产清单",
"AssetLoss": "资产损失",
"AssetManagement": "资产管理",
"AssetsManage": "资产管理增值税服务",
"AssignmentsList": "任务列表", "AssignmentsList": "任务列表",
"AuditFeedback": "税务检查告知",
"AuditImplementation": "税务检查实施",
"AuditNotice": "税务检查通知",
"AuditSolution": "税务检查处理",
"Authorization": "新增权限", "Authorization": "新增权限",
"AutoMapping": "自动对应", "AutoMapping": "自动对应",
"BadDebtProvision": "坏账准备",
"BankCharges": "银行手续费",
"Baseon": "基于",
"Before": "Before",
"BelongService": "所属服务", "BelongService": "所属服务",
"Bi": "笔",
"BillingManagement": "开票管理", "BillingManagement": "开票管理",
"BranchCo": "分公司",
"BudgetTaxAmount": "预算税额",
"BudgetValue": "预算值",
"BusinessAllottedTime": "营业期限",
"BusinessPromition": "业务宣传费",
"BusinessScope": "经营范围",
"BusinessUnit": "事业部",
"BusinessUnitDesc": "事业部", "BusinessUnitDesc": "事业部",
"BusinessUnitID": "事业部", "BusinessUnitID": "事业部",
"BusinessUnitLog": "日志-事业部", "BusinessUnitLog": "日志-事业部",
"BusinessUnitPre": "事业部",
"ButtonCancel": "取消",
"ButtonClose": "关闭",
"ByYear": "By Year",
"CIT": "企业所得税",
"CITDeclareDocument": "企业所得税申报文档",
"CITType": "企业所得税",
"CITTypeDesc": "存在企业所得税税负率偏高的重大税务风险,企业所得税应视同销售未计收入、红字发票开具频繁等税务风险",
"Cancel": "取消", "Cancel": "取消",
"CancelMapping": "取消对应", "CancelMapping": "取消对应",
"CapitalForecastWorkingPaper": "资金预算工作底稿",
"CashFlow": "税务现金流",
"CategoryStandard": "分类标准",
"CellPosition": "单元格:", "CellPosition": "单元格:",
"CertificationPeriod": "认证期间", "CertificationPeriod": "认证期间",
"CertificationResult": "认证结果", "CertificationResult": "认证结果",
...@@ -38,64 +111,251 @@ ...@@ -38,64 +111,251 @@
"ChangePassword": "修改密码", "ChangePassword": "修改密码",
"ChangePasswordFailInfo": "修改密码操作失败:", "ChangePasswordFailInfo": "修改密码操作失败:",
"ChangePasswordSuccessInfo": "修改密码操作成功!3秒后自动关闭...", "ChangePasswordSuccessInfo": "修改密码操作成功!3秒后自动关闭...",
"ChildCo": "子公司",
"CityBuildingTax": "城市维护建设税",
"Clear": "清空",
"Close": "关闭", "Close": "关闭",
"Code": "代码", "Code": "代码",
"ColumnNum": "列号", "ColumnNum": "列号",
"ComfirmDisable": "禁用确认", "ComfirmDisable": "禁用确认",
"ComfirmDisableSuccess": "禁用成功", "ComfirmDisableSuccess": "禁用成功",
"Comments": "附属意见",
"CompanyA1": "XXX银行股份有限公司A1支行",
"CompanyA2": "XXX银行股份有限公司A2支行",
"CompanyA3": "XXX银行股份有限公司A3支行",
"CompanyA4": "XXX银行股份有限公司A4支行",
"CompanyA5": "XXX银行股份有限公司A5支行",
"CompanyA6": "XXX银行股份有限公司A6支行",
"CompanyAddress": "公司地址",
"CompanyB": "B 公司",
"CompanyC": "C 公司",
"CompanyD": "D 公司",
"CompanyE": "E 公司",
"CompanyF": "F 公司",
"CompanyTelephone": "公司电话",
"Complete": "完成",
"ConditionType": "条件类型",
"ConferenceFees": "会议费",
"Config": "设置",
"Confirm": "确定", "Confirm": "确定",
"ConfirmDelete": "删除确认", "ConfirmDelete": "删除确认",
"ConfirmDeleteSelected": "确定删除所有选中项", "ConfirmDeleteSelected": "确定删除所有选中项",
"ConfirmInformation": "确认删除这个{0}?", "ConfirmInformation": "确认删除这个{0}?",
"ConfirmPassword": "确认密码", "ConfirmPassword": "确认密码",
"ConfirmTheSameInfo": "确认密码必须与新密码相同", "ConfirmTheSameInfo": "确认密码必须与新密码相同",
"ConstructionTax": "城建税",
"ConsultingFees": "咨询费",
"ConsumTaxTitle": "消费税",
"ConsumptionTax": "消费税",
"CoordinatingCondition": "并列条件",
"Copy": "复制", "Copy": "复制",
"Cost": "成本", "Cost": "成本",
"CostOfGoodsPurchased": "实物成本",
"Costperbook": "资产原值",
"Count": "Qty",
"Create": "创建",
"CreateUser": "创建用户", "CreateUser": "创建用户",
"CreditFlow": "信贷系统流水",
"CurrentPage": "当前页",
"CurrentPageColon": "当前页: ",
"CurrentlyInProgress": "进行中", "CurrentlyInProgress": "进行中",
"CustomerDesc": "客户列表", "CustomerDesc": "客户列表",
"CustomerListManageLog": "日志-客户列表", "CustomerListManageLog": "日志-客户列表",
"DTA": "递延所得税",
"Dashboard": "仪表盘", "Dashboard": "仪表盘",
"DashboardOTAnnualTaxBurdenAmount": "年度税负总额",
"DashboardOTProjectProgress": "项目进度",
"DashboardOTReportException": "报表异常",
"DashboardOTRiskDashboard": "风险仪表盘",
"DashboardOTRiskWarning": "风险提示",
"DashboardOTSubtotal": "税负汇总情况",
"DashboardOTSubtotalByBusinessUnit": "事业部汇总",
"DashboardOTSubtotalByOrganization": "机构汇总",
"DashboardOTSubtotalByRegion": "区域汇总",
"DashboardOTTaxBurdenDistribution": "税负分布",
"DashboardOTTaxBurdenDistributionConfig": "税赋情况汇总配置",
"DataCalculation": "预测计算",
"DataEnquiry": "数据预览",
"DataSource": "数据源:", "DataSource": "数据源:",
"DataSourceName": "数据源", "DataSourceName": "数据源",
"Debt": "负债", "Debt": "负债",
"Declaration": "Declaration",
"DeductionList": "抵扣清单",
"DefaultWidgets": "恢复默认",
"DeferredTaxAnalysis": " 递延所得税分析",
"DeferredTaxAnalysisConfigOTAssetStructure": "资产构成",
"DeferredTaxAnalysisConfigOTTaxStructure": "负债构成",
"DeferredTaxAnalysisConfigOTTitle": "递延所得税分析配置",
"DeferredTaxAnalysisConfigOTVariationAnalysis": "资产/负债变动数分析",
"Delete": "删除", "Delete": "删除",
"DeleteReport": "删除报表",
"DepositBank": "开户银行",
"DepreciationFixedAsset": "固定资产折旧(管理机构)",
"DepreciationInCurrentYear": "本年度会计折旧额",
"DepreciationInLastYear": "去年度会计折旧额",
"DepreciationMethod": "折旧方式",
"Depreciationincurrentyear": "Depreciation in current year",
"Description": "描述", "Description": "描述",
"Detail": "详细",
"DetailedInformation": "详细信息",
"DiffenenceReason": "差异原因",
"DifferenceRate": "差异率",
"Direction": "借贷方向", "Direction": "借贷方向",
"DirectionCredit": "贷",
"DirectionDebt": "借",
"DirectionDebtCredit": "借/贷",
"Disable": "禁用", "Disable": "禁用",
"Disabled": "已禁用", "Disabled": "已禁用",
"DisplayCharts": "显示图表",
"DisplayContent": "显示内容",
"DisposalOfFixedAssets": "处置固定资产",
"DisposalProceedsTrading": "交易性金融资产处置损益",
"DocNameColon": "文档名称:",
"DocTypeColon": "文档类型:",
"DocTypeDocNameRequired": "文档类型和文档名称都必须选择",
"Document": "文档",
"DocumentCategory": "文档分类",
"DocumentDetail": "查看文档",
"DocumentExpiredDuration": "有效期",
"DocumentListType": "企业资料清单",
"DocumentName": "文档名称",
"DocumentPeriod": "时间段",
"DocumentProjectCode": "项目编号",
"DocumentType": "文档类型",
"DonationInfor": "捐赠信息",
"DoneInvoice": "已处理",
"DownloadTemplate": "下载模板",
"DueDate": "截止日期",
"Duration": "至",
"DutyPaid": "完税证明",
"Edit": "编辑", "Edit": "编辑",
"EditReport": "编辑报表",
"EducationAttach": "教育费附加",
"EducationSupplimentary": "教育费附加",
"EffectiveInColon": "有效期:",
"EffectiveIncomeTaxRate": "所得税有效税负率",
"EffectiveIncomeTaxRateDetail": "所得税有效税负率(=所得税费用/利润总额)",
"EmployeeBenefits": "员工福利费",
"Empty": "空", "Empty": "空",
"Enable": "启用", "Enable": "启用",
"Enabled": "已启用", "Enabled": "已启用",
"EnterpriceAccountDesc": "账套", "EnterpriceAccountDesc": "账套",
"EnterpriseAccountManageLog": "日志-企业账套", "EnterpriseAccountManageLog": "日志-企业账套",
"EnterpriseSubjectCodeCol": "企业科目代码",
"EnterpriseSubjectNameCol": "企业科目名称",
"EntriesCheck": "分录比对", "EntriesCheck": "分录比对",
"EntryComparison": "分录比对",
"EntryCondition": "分录条件",
"EntrySummary": "摘要",
"Equity": "权益", "Equity": "权益",
"EstateIndustry": "房地产业",
"Exception": "异常", "Exception": "异常",
"ExceptionJudgement": "异常判断",
"ExclusionCondition": "不包含条件",
"ExemptioinGoods": "免税货物批文",
"ExitEditing": "取消",
"ExitFullScreen": "退出全屏",
"Export": "导出",
"ExportAllPage": "导出全部",
"ExportButton_Failed": "导出 Excel 失败",
"ExportButton_InvalidCallBack": "导出功能未实现",
"ExportButton_Succeeded": "导出 Excel 成功",
"ExportCurrentPage": "导出当前页",
"False": "否", "False": "否",
"FileFullPath": "文件完整路径",
"FinanceData": "财务数据",
"FinancialDataVersionA": "财务数据版本A",
"FinancialDataVersionB": "财务数据版本B",
"FinancialExpenses": "财务费用",
"FinancialReport": "财务报表",
"FinancialServiceIndustry": "银行及其他金融服务业",
"FinancialStatement": "财务报表",
"FixedAssets": "固定资产",
"FixedAssetsMaintenance": "固定资产维修",
"FollowTips": "请按照要求填写", "FollowTips": "请按照要求填写",
"ForecastDataSource": "数据来源",
"ForecastReportType": "预算报表类型",
"ForecastvsActual": "预实对比",
"Formula": "公式:", "Formula": "公式:",
"FoundationDate": "成立日期",
"FreightCosts": "运输费",
"FundFlow": "资金系统流水",
"GainAndLossForecast": "损益预算",
"GainAndLosses": "公允价值变动损益",
"Ge": "个",
"GeneralAdmin": "管理费用",
"GeneralIndex": "General Index",
"GeneralIndustry": "通用行业",
"GeneralPublicity": "宣传费",
"GlobalDataImportOPBatchImport": "批量导入",
"GlobalDataImportOTDisplayByDataType": "按数据类型查看",
"GlobalDataImportOTDisplayByOrganization": "按机构查看",
"GlobalDataImportOTImportedStatus": "数据导入状况",
"GlobalTax": "全球税赋情况",
"GoodsName": "货物名称", "GoodsName": "货物名称",
"GovernmentSubsidies": "政府补助利得",
"GrossProfit": "毛利润",
"GrossProfitMargin": "毛利率",
"GrossProfitMarginDetail": "毛利率(=毛利润/主营业务收入)",
"HasTaxPayerNumber": "有纳税人识别号", "HasTaxPayerNumber": "有纳税人识别号",
"HeaderCompany": "XXX银行股份有限公司总行",
"High": "高",
"Home": "首页", "Home": "首页",
"IIT": "个人所得税",
"IITType": "个人所得税",
"IITTypeDesc": "存在税务发放未缴纳个人所得税的中等税务风险",
"ImportError": "导入失败数据", "ImportError": "导入失败数据",
"ImportErrorTips": "出现{0}处错误,请修正!", "ImportErrorTips": "出现{0}处错误,请修正!",
"ImportSuccess": "导入成功", "ImportSuccess": "导入成功",
"IncomeInvoiceManage": "采购端发票管理", "IncomeInvoiceManage": "采购端发票管理",
"IncomeInvoiceOverview": "发票总览",
"IncomeTaxContribution": "所得税贡献率",
"IncomeTaxContributionDetail": "所得税贡献率(=所得税费用/营业收入)",
"IncomeTaxExpense": "所得税费用",
"IndexAnalysis": "指标分析", "IndexAnalysis": "指标分析",
"IndexAnalysisConfig": "指标分析配置",
"IndexDataType": "显示类型",
"IndexFormula": "指标公式",
"IndexName": "指标名称",
"Industry": "行业", "Industry": "行业",
"IndustryColon": "行业:",
"IndustryID": "行业", "IndustryID": "行业",
"IndustryIndex": "Industry Index",
"IndustryIndustry": "工业",
"InheritRole": "继承角色", "InheritRole": "继承角色",
"InputVAT": "Input VAT",
"InputVATTransferOut": "Input VAT transfer-out",
"Instructions": "填报说明", "Instructions": "填报说明",
"IntangibleAssets": "无形资产",
"InterestExpense": "利息支出",
"InterestIncome": "利息收入",
"InvestmentIncome": "投资收益",
"InvoiceCat": "发票类型", "InvoiceCat": "发票类型",
"InvoiceMain": "发票管理", "InvoiceMain": "发票管理",
"InvoiceManagement": "采购端发票管理",
"InvoiceSearch": "发票查询", "InvoiceSearch": "发票查询",
"InvoiceSource": "发票来源",
"InvoiceSourceColon": "发票来源:",
"InvolvedOrganization": "所属机构:",
"IsActiveStatus": "启用状态", "IsActiveStatus": "启用状态",
"IsDisplay": "是否显示",
"Joint": "共同", "Joint": "共同",
"JumpTo": "跳至",
"KeyCode": "关键数据代码", "KeyCode": "关键数据代码",
"KeyName": "关键数据名称", "KeyName": "关键数据名称",
"KeyValueDesc": "键值", "KeyValueDesc": "键值",
"LVATType": "土地增值税",
"LVATTypeDesc": "存在重复列支计入总包含合同的成本的中等风险",
"LabourCosts": "劳务费",
"LabourUnionExpenditure": "工会经费",
"LandAppreciationTax": "土地增值税",
"LastMonth": "上月实际",
"LegalCode": "法人代码",
"LegalPerson": "法人名称",
"LessThan": "及以下",
"LinkToIssue": "关联事项",
"LinkToProject": "关联项目",
"LocalEducationAttach": "地方教育费附加",
"LogComments": "备注", "LogComments": "备注",
"LogIndex": "序号", "LogIndex": "序号",
"LogOperateObject": "操作对象", "LogOperateObject": "操作对象",
...@@ -112,7 +372,16 @@ ...@@ -112,7 +372,16 @@
"LogUserType": "所属用户", "LogUserType": "所属用户",
"Logout": "退出", "Logout": "退出",
"Loss": "损益", "Loss": "损益",
"LossDisposalFixedAssets": "处置固定资产损失",
"LossIntangibleAssets": "处置无形资产损失",
"LossInventory": "存货跌价损失",
"LossProjectConstruction": "处置在建工程损失",
"Low": "低",
"MailRoomPendingInvoice": "Mail Room待处理",
"MainCondition": "主条件",
"MainIndex": "主要值",
"ManualMapping": "手动对应", "ManualMapping": "手动对应",
"ManufacturingIndustry": "制造业",
"MappingInvoice": "关联管理", "MappingInvoice": "关联管理",
"MenuAMVAT": "资管增值税申报", "MenuAMVAT": "资管增值税申报",
"MenuCIT": "企业所得税申报", "MenuCIT": "企业所得税申报",
...@@ -125,10 +394,18 @@ ...@@ -125,10 +394,18 @@
"MenuRiskAlert": "税务风险预警", "MenuRiskAlert": "税务风险预警",
"MenuStatistics": "数据统计", "MenuStatistics": "数据统计",
"MenuTaxAnalysisPlatform": "税务分析平台", "MenuTaxAnalysisPlatform": "税务分析平台",
"MenuTaxDocument": "税务档案管理",
"MenuTaxForecast": "利润预测",
"MenuTaxOperationManagement": "税务运营管理平台", "MenuTaxOperationManagement": "税务运营管理平台",
"MenuTaxPolicyManagement": "税务政策管理平台", "MenuTaxPolicyManagement": "税务政策管理平台",
"MenuVAT": "增值税申报", "MenuVAT": "增值税申报",
"Mid": "中",
"MobileManufacturingIndustry": "汽车制造业",
"ModelAlert": "模型异常",
"ModelException": "模型异常", "ModelException": "模型异常",
"ModelStatusException": "系统检测异常",
"ModelStatusNormal": "系统检测正常",
"Month": "月份",
"Month01": "1月", "Month01": "1月",
"Month02": "2月", "Month02": "2月",
"Month03": "3月", "Month03": "3月",
...@@ -150,72 +427,181 @@ ...@@ -150,72 +427,181 @@
"Month7": "7月", "Month7": "7月",
"Month8": "8月", "Month8": "8月",
"Month9": "9月", "Month9": "9月",
"MoveDown": "下降",
"MoveUp": "上升",
"MsgExpired": "账号已过期", "MsgExpired": "账号已过期",
"MsgInactive": "账号被锁定", "MsgInactive": "账号被锁定",
"MsgUsedPassword": "最近使用过这个密码,请重新设置!", "MsgUsedPassword": "最近使用过这个密码,请重新设置!",
"MsgWrongPassword": "旧密码不正确", "MsgWrongPassword": "旧密码不正确",
"NA": "无",
"Name": "名称", "Name": "名称",
"NetGainLosses": "公允价值变动净损益",
"NetProfit": "净利润",
"NetProfitMargin": "净利润率",
"NetProfitMarginDetail": "净利润率(=净利润/营业收入)",
"New": "新增", "New": "新增",
"NewPassword": "新密码", "NewPassword": "新密码",
"NewPasswordTips": "长度为6个以上字符,必须为数字和字母组合,且不能与原始密码相同", "NewPasswordTips": "长度为6个以上字符,必须为数字和字母组合,且不能与原始密码相同",
"NewRegistration": "新建登记", "NewRegistration": "新建登记",
"NewReport": "编写报告", "NewReport": "编写报告",
"NextPage": "下一页", "NextPage": "下一页",
"NoData": "没有数据",
"NoDataAvailable": "当前条件下暂无可显示数据", "NoDataAvailable": "当前条件下暂无可显示数据",
"NoDataInChart": "当前图表无数据", "NoDataInChart": "当前图表无数据",
"NoDataText": "没有数据", "NoDataText": "没有数据",
"NoInvoiceVerify": "未收票认证", "NoInvoiceVerify": "未收票认证",
"NoRiskAboveMid": "无中等以上税务风险",
"NoSearchContent": "抱歉,没有匹配信息!", "NoSearchContent": "抱歉,没有匹配信息!",
"NoTaxPayerNumber": "无纳税人识别号", "NoTaxPayerNumber": "无纳税人识别号",
"NonOperatingExpenses": "营业外支出",
"NonOperatingIncome": "营业外收入",
"NonTaxation": "不征税和免税收入证明",
"NormalStatus": "正常",
"NotYetStart": "未开始", "NotYetStart": "未开始",
"Number": "序号",
"NumberOfTaskes": "个任务:", "NumberOfTaskes": "个任务:",
"NumberType": "数字型", "NumberType": "数字型",
"OOCosts": "其他业务成本",
"OOCosts1": "其他业务成本1",
"OOCosts2": "其他业务成本2",
"OldPassword": "原始密码", "OldPassword": "原始密码",
"OperateOrganizationLog": "日志-机构管理", "OperateOrganizationLog": "日志-机构管理",
"OperateProjectLog": "日志-项目管理", "OperateProjectLog": "日志-项目管理",
"OperateRoleLog": "日志-角色管理", "OperateRoleLog": "日志-角色管理",
"OperateUserLog": "日志-用户管理", "OperateUserLog": "日志-用户管理",
"OperatingCosts": "营业成本",
"OperatingProfit": "营业利润",
"OperatingProfitMargin": "营业利润率",
"OperatingProfitMarginDetail": "营业利润率(=营业利润/营业收入)",
"OperatingRevenue": "营业收入",
"OperationContent": "操作内容", "OperationContent": "操作内容",
"OrangizationStructureManageLog": "日志-机构层级", "OrangizationStructureManageLog": "日志-机构层级",
"OrgCommonModel": "机构公共模型", "OrgCommonModel": "机构公共模型",
"OrgCustomModel": "机构自定义模型", "OrgCustomModel": "机构自定义模型",
"OrgName": "机构名称",
"Organization": "Entity",
"OrganizationColon": "适用机构:",
"OrganizationCount": "访问机构数", "OrganizationCount": "访问机构数",
"OrganizationDesc": "机构", "OrganizationDesc": "机构",
"OrganizationLevel": "公司层级",
"OrganizationName": "机构名称",
"OrganizationServiceTemplateGroup": "服务管理", "OrganizationServiceTemplateGroup": "服务管理",
"OrganizationStructureDesc": "机构层级", "OrganizationStructureDesc": "机构层级",
"Organize": "Organize",
"Other": "其他", "Other": "其他",
"OtherOR": "其他业务收入",
"OtherOR1": "其他业务收入1",
"OtherOR2": "其他业务收入2",
"OtherRevenue": "其他收入",
"OtherTaxes": "其他税种",
"Others": "其他",
"OutMenuInvoiceManagement": "销项发票管理", "OutMenuInvoiceManagement": "销项发票管理",
"OutputInvoiceTitle": "销项发票", "OutputInvoiceTitle": "销项发票",
"OutputVAT": "Output VAT",
"OverView": "概览", "OverView": "概览",
"P2PPendingInvoice": "P2P待处理",
"PCompany": "公司",
"PIC": "负责人",
"PLEntity": "机构",
"PLItem": "项目",
"POCosts": "主营业务成本",
"POCosts1": "主营业务成本1",
"POCosts2": "主营业务成本2",
"Page": "页",
"PageTotalCount": "总计", "PageTotalCount": "总计",
"PagerFooter": "{{currentPageCount}} records in current page, {{totalCount}} records in total",
"ParentCode": "上级代码", "ParentCode": "上级代码",
"ParentID": "上级", "ParentID": "上级",
"PasswordNotChanged": "请设置一个不一样的新密码!", "PasswordNotChanged": "请设置一个不一样的新密码!",
"PendingReturnInvoice": "待退票管理", "PendingReturnInvoice": "待退票管理",
"Percentage": "百分比",
"Period": "期间",
"PeriodTitle": "期间",
"PleaseAddMeasuresRight": "请在右边添加有数据的指标",
"PleaseChooseModel": "请选择一个模型",
"PleaseContactAdministrator": "发生异常,请联系管理员!",
"PleaseSelect": "请选择", "PleaseSelect": "请选择",
"PredictedData": "预算数据",
"PretaxMargin": "税前利润率",
"PretaxMarginDetail": "税前利润率(=利润总额/营业收入)",
"PreviewMail": "邮件预览",
"PrimeOR": "主营业务收入",
"PrimeOR1": "主营业务收入1",
"PrimeOR2": "主营业务收入2",
"PrimeOR3": "主营业务收入3",
"ProductLineConfigManageLog": "日志-产品线维护",
"ProductLineManageLog": "日志-产品线列表",
"ProjectCodeColon": "项目代码:",
"ProjectCompanyCol": "机构",
"ProjectDesc": "项目", "ProjectDesc": "项目",
"ProjectPeriod": "项目周期",
"ProjectServiceTypeDesc": "服务", "ProjectServiceTypeDesc": "服务",
"PromotionExpenses": "宣传费",
"PropertyTax": "房产税",
"PropertyTaxTypeDesc": "存在房产税税额变动超过20%的中等税务风险",
"PropertyTaxes": "房产税",
"ProvisionDepreciationFixedAsset": "固定资产减值准备",
"PurchaseDate": "购入日期",
"PushMessageCategory_All": "所有",
"PushMessageCategory_Overdue": "逾期", "PushMessageCategory_Overdue": "逾期",
"PushMessageCategory_Today": "今日", "PushMessageCategory_Today": "今日",
"PushMessageCategory_Yesterday": "昨日", "PushMessageCategory_Yesterday": "昨日",
"QuarterlyFilingReturnType": "季度预缴表",
"RDExpenseCapitalised": "研发费用-资本化",
"RDExpenseExpensed": "研发费用-费用化",
"RDExpenses": "研发费用",
"RPT": "定价转让",
"RealEstateTaxType": "房产税",
"RealTaxAmount": "实缴税额",
"RecordCount": "条记录",
"Reduction": "加计扣除/减半征收",
"Refresh": "刷新", "Refresh": "刷新",
"RegionDesc": "区域", "RegionDesc": "区域",
"RegionID": "地区", "RegionID": "地区",
"RegionManageLog": "日志-区域管理", "RegionManageLog": "日志-区域管理",
"RegistrationAddress": "注册地址",
"RegistrationCapital": "注册资本(万元)",
"RegistrationDate": "注册日期",
"RegistrationLocation": "注册地",
"RegistrationType": "注册类型",
"RemarkColon": "备注:",
"RentalCharges": "租赁费",
"RentalExpense": "租赁费",
"Report": "Report",
"ReportCode": "报表代码", "ReportCode": "报表代码",
"ReportConfigurationDesc": "报表配置", "ReportConfigurationDesc": "报表配置",
"ReportException": "报表异常",
"ReportValidation": "报表校验", "ReportValidation": "报表校验",
"RequiredInfo": "必填项", "RequiredInfo": "必填项",
"ResearchCosts": "研发费用",
"Reset": "重置", "Reset": "重置",
"ResidualRate": "残值率",
"Residualrate": "Residual rate",
"RetrievePermissions": "删除权限", "RetrievePermissions": "删除权限",
"ReturnExemption": "免抵退货物申报表与免税证明",
"ReturnRatioDistrictLevel": "返还比例(实际)区级",
"ReturnRatioMunicipalLevel": "返还比例(实际)市级",
"ReturnTaxItem": "返回税务事项",
"Revenue": "收入",
"RiskAlert": "风险提示",
"RiskDesc": "风险描述",
"RiskDescription": "风险概述",
"RiskLevel": "风险程度",
"RiskWarning": "风险提示",
"Role": "角色", "Role": "角色",
"RoleDesc": "角色", "RoleDesc": "角色",
"RowForPage": "每页显示",
"RowNum": "行号", "RowNum": "行号",
"RowNumber": "行次", "RowNumber": "行次",
"Royalties": "特许权使用费",
"SalesDiscount": "销售折扣",
"SalesOnRawMaterial": "销售原材料",
"Save": "保存", "Save": "保存",
"SaveAsNew": "另存为自定义",
"SaveFail": "保存失败!", "SaveFail": "保存失败!",
"SaveFileError": "服务器保存文件错误", "SaveFileError": "服务器保存文件错误",
"SaveSuccess": "保存成功!", "SaveSuccess": "保存成功!",
"SaveasNewVersion": "另存为新版本",
"Search": "搜索", "Search": "搜索",
"SearchHintText": "搜索", "SearchHintText": "搜索",
"SearchPlaceholder": "请输入查询条件", "SearchPlaceholder": "请输入查询条件",
...@@ -224,18 +610,42 @@ ...@@ -224,18 +610,42 @@
"SelectAccount": "请选择科目", "SelectAccount": "请选择科目",
"SelectAll": "全选", "SelectAll": "全选",
"SelectArea": "请选择区域", "SelectArea": "请选择区域",
"SelectInvoiceSource": "请选择发票来源",
"SelectNone": "清空", "SelectNone": "清空",
"SelectOrg": "请选择机构", "SelectOrg": "请选择机构",
"SelectOrgDefault": "不选择", "SelectOrgDefault": "不选择",
"SelectUploadFileRequired": "请选择文件后再上传",
"SellingExpenses": "销售费用",
"SendEmail": "发送邮件",
"Seq": "序号",
"SequenceNo": "序号",
"SetAsDefaultVersion": "设为默认版本",
"SharedIndex": "Shared Index",
"SheetNum": "工作表单号", "SheetNum": "工作表单号",
"ShowFullScreen": "全屏展示",
"ShowPageItem": "条", "ShowPageItem": "条",
"ShowPerPageCount": "每页显示", "ShowPerPageCount": "每页显示",
"ShowRelevantAmount": "借贷方相关金额",
"SortByBusinessUnit": "按事业部",
"SortByOrganization": "按机构",
"SortByRegion": "按区域",
"SortByTaxBurdenAmount": "按税负额",
"SortByTaxBurdenRate": "按税负率",
"SpecialAccess": "特殊权限", "SpecialAccess": "特殊权限",
"SpecialChar": "不能包含特殊字符", "SpecialChar": "不能包含特殊字符",
"SpecialItems": "特殊事项",
"SpecialRoleAccess": "特殊权限设置", "SpecialRoleAccess": "特殊权限设置",
"SpecialTasks": "特殊税务事项",
"SpecialTaxType": "特殊事项",
"SpecialTaxTypeDesc": "无中等以上税务风险",
"SponsorshipExpenses": "冠名赞助费",
"StaffSalaries": "职工工资",
"StampTax": "印花税",
"StandardAccountCredit": "贷方", "StandardAccountCredit": "贷方",
"StandardAccountDebit": "借方", "StandardAccountDebit": "借方",
"StandardAccountDesc": "标准科目", "StandardAccountDesc": "标准科目",
"Start": "开始",
"Status": "状态",
"StopUse": "停用", "StopUse": "停用",
"StringType": "字符串", "StringType": "字符串",
"StructureID": "层级", "StructureID": "层级",
...@@ -243,33 +653,136 @@ ...@@ -243,33 +653,136 @@
"SubjectDirection": "借贷方向", "SubjectDirection": "借贷方向",
"SubjectName": "科目名称", "SubjectName": "科目名称",
"SubjectType": "科目类型", "SubjectType": "科目类型",
"Summary": "合计", "Summary": "摘要",
"SummaryKeyword": "摘要关键字", "SummaryKeyword": "摘要关键字",
"SuperDeductions": "加计扣除",
"SystemCommonModel": "系统公共模型", "SystemCommonModel": "系统公共模型",
"SystemError": "系统错误", "SystemError": "系统错误",
"TPermission": "权限", "TPermission": "权限",
"TaskDescription": "事项描述",
"TaskDetailEntity": "适用机构",
"TaskName": "事项名称",
"TaskUnit": "个",
"TaxAccumulativeAmortizationInCurrentYear": "截止本年年底的累计税法摊销金额",
"TaxAccumulativeAmortizationInLastYear": "截止去年年底的累计税法摊销金额",
"TaxAccumulativeDepreciationInLastYear": "截止去年年底的累计税法折旧金额",
"TaxAmortizationInCurrentYear": "本年度税法摊销金额",
"TaxAmortizationUsefulLife(m)": "税法允许摊销月份",
"TaxAmount": "税额",
"TaxAmountDashboard": "赋税额 Top 3",
"TaxAnnualAmountDashboard": "年度赋税总额",
"TaxAuditTitle": "税务稽查",
"TaxBurden": "税负",
"TaxBurdenAmountTop3Config": "赋税额Top3配置",
"TaxBurdenRatio": "税负率",
"TaxCashFlowAnalysis": "税务现金流分析",
"TaxCashFlowAnalysisConfigOTComparison": "预实对比",
"TaxCashFlowAnalysisConfigOTProportion": "返还比例",
"TaxCashFlowAnalysisConfigOTTitle": "税务现金流分析配置",
"TaxCategory": "税(费)种", "TaxCategory": "税(费)种",
"TaxDeclaration": "税务申报",
"TaxDepreciationInCurrentYear": "本年度税法折旧额",
"TaxDepreciationUsefulLife(m)": "税法折旧月份",
"TaxDepreciationincurrentyear": "Tax Depreciation in current year",
"TaxDocumentManage": "税务档案管理",
"TaxForecast": "税务预算",
"TaxForecastResult": "税务预算结果",
"TaxForecastWorkingPaper": "税务预算底稿",
"TaxInspection": "税务自查",
"TaxPayment": "税负金额",
"TaxReturn": "纳税申报表",
"TaxReturnType": "纳税申报表",
"TaxTreatmentRecord": "特殊性税务处理备案",
"TaxType": "税种", "TaxType": "税种",
"TaxTypeName": "文档类型",
"TaxUsefullife(m)": "Tax Useful life(m)",
"TaxationAmountbytheendofcurrentperiod": "截止到当前月份赋税总额",
"TaxesSurcharges": "税金及附加",
"TaxforecastVersionA": "税务预算版本A",
"TaxforecastVersionB": "税务预算版本B",
"TemplateDesc": "模板", "TemplateDesc": "模板",
"TemplateFormulaDesc": "公式", "TemplateFormulaDesc": "公式",
"TemplateGroupDesc": "模板组", "TemplateGroupDesc": "模板组",
"TestDemo": "测试例子", "TestDemo": "测试例子",
"TestDemoNew": "测试新例子", "TestDemoNew": "测试新例子",
"ThousandYuan": "人民币千元",
"Threshold": "阈值",
"Tiao": "条",
"Total": "合计",
"TotalDocumentNumber": "合计",
"TotalInputVAT": "增值税进项税额合计",
"TotalNumber": "总计:",
"TotalNumberUnit": "张",
"TotalOOCosts": "其他业务成本合计",
"TotalOutputVAT": "增值税销项税合计",
"TotalPOCost": "主营业务成本合计",
"TotalPage": "共有",
"TotalPrimaryOR": "主营业务收入合计",
"TotalProfit": "利润总额",
"TotalProjectRecords": "总揽", "TotalProjectRecords": "总揽",
"TotalTraining": "培训费用合计",
"TpRpt": "关联交易往来申报", "TpRpt": "关联交易往来申报",
"TransferOutOfInputVAT": "增值税进项转出",
"TravelTax": "车船税",
"True": "是", "True": "是",
"Type": "类型",
"UnAccessable": "不可访问", "UnAccessable": "不可访问",
"Update": "修改", "Update": "修改",
"Upload": "上传",
"UploadDocument": "上传文档",
"UploadDocumentSuccess": "文件上传成功",
"UploadFileTime": "上传日期",
"UploadNewReport": "上传新报表",
"UploadUserName": "上传者",
"UrbanLandTax": "城镇土地使用税",
"UrbanMaintenance": "城市维护建设税",
"UseOrganization": "使用机构",
"UseOrganizationColon": "使用机构:",
"UseStatusAbnormal": "数据异常",
"UseStatusColon": "使用状态:",
"UseStatusDisabled": "禁用",
"UseStatusEnabled": "可用",
"UsefulLife(m)": "会计折旧月份",
"Usefullife(m)": "Useful life(m)",
"UserDesc": "用户", "UserDesc": "用户",
"UserExists": "用户已经存在", "UserExists": "用户已经存在",
"UserProfile": "用户属性", "UserProfile": "用户属性",
"UserRoleAccess": "用户权限设置", "UserRoleAccess": "用户权限设置",
"UserRoleDesc": "角色", "UserRoleDesc": "角色",
"VAT": "增值税",
"VATBudget": "增值税预算",
"VATIndex": "VAT Index",
"VATTaxableSales": "增值税应税销售额",
"VATType": "增值税",
"VATTypeDesc": "存在增值税税负率偏高, 未作进项税转出, 收入或视同销售未计提增值税的等税务风险",
"VATTypeDesc1": "存在增值税税负率偏高",
"VATTypeDesc2": "未作进项税转出",
"VATTypeDesc3": "收入或视同销售未计提增值税",
"VATTypeDescDetail1": "可能存在购进没有取得相应的进项发票,无法抵扣进项税额的情况",
"VATTypeDescDetail2": "企业用于内部福利的库存商品、原材料等,存在没有进项税额转出的情况",
"VATTypeDescDetail3": "可能存在增值税应税收入没有计提增值税的情况",
"ValidationException": "校验异常", "ValidationException": "校验异常",
"VarianceAmount": "差异额",
"VehicleVesselTax": "车船税",
"VersionA": "版本A",
"VersionB": "版本B",
"VersionControl": "版本控制",
"ViewDetail": "查看详细", "ViewDetail": "查看详细",
"ViewDetails": "查看详情",
"ViewOriginalPicture": "显示原图",
"ViewTaxForecast": "查看税务预算结果",
"WarehouseRental": "仓库租用费",
"Welcome": "欢迎,", "Welcome": "欢迎,",
"WordLibraryDesc": "字库", "WordLibraryDesc": "字库",
"WorkflowStatus_Analytics": "数据分析",
"WorkflowStatus_Declaration": "申报完成",
"WorkflowStatus_Import": "数据导入",
"WorkflowStatus_Organize": "数据整理",
"WorkflowStatus_Report": "查看报表",
"WorkingPaperType": "工作底稿",
"Worklist": "工作列表", "Worklist": "工作列表",
"Year": "年份",
"Yuan": "元",
"ascendingText": "升序", "ascendingText": "升序",
"cellComment": "备注", "cellComment": "备注",
"cellCommentCommit": "提交", "cellCommentCommit": "提交",
...@@ -281,8 +794,11 @@ ...@@ -281,8 +794,11 @@
"clearSortingText": "取消排序", "clearSortingText": "取消排序",
"contains": "包含", "contains": "包含",
"dashboard": "数据汇总", "dashboard": "数据汇总",
"dateFormat4Year": " yyyy 年",
"dateFormat4YearMonth": " yyyy 年 mm 月", "dateFormat4YearMonth": " yyyy 年 mm 月",
"dateFormat4YearMonthDay": "yyyy-mm-dd",
"dateFormat4YearMonthDayCh": "yyyy年 mm月 dd日", "dateFormat4YearMonthDayCh": "yyyy年 mm月 dd日",
"dateFormat4YearMonthForDX": "yyyy年MM月",
"descendingText": "降序", "descendingText": "降序",
"endsWith": "结束于", "endsWith": "结束于",
"equal": "等于", "equal": "等于",
...@@ -291,7 +807,9 @@ ...@@ -291,7 +807,9 @@
"greaterThanOrEqual": "不小于", "greaterThanOrEqual": "不小于",
"lessThan": "小于", "lessThan": "小于",
"lessThanOrEqual": "不大于", "lessThanOrEqual": "不大于",
"log": "日志",
"logoff": "退出", "logoff": "退出",
"logoffWithoutHistory": "无痕退出",
"messages": "消息", "messages": "消息",
"modifiedAmount": "修改金额", "modifiedAmount": "修改金额",
"modifyCellDataTitle": "总值修改", "modifyCellDataTitle": "总值修改",
......
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