Commit b8d188a2 authored by Ken you's avatar Ken you

update VAT 查看报表按类型分----Ken

parent 86f05c56
...@@ -30,7 +30,7 @@ public class EbsApiServiceImplTest extends CommonIT { ...@@ -30,7 +30,7 @@ public class EbsApiServiceImplTest extends CommonIT {
} }
@Test @Test
public void queryRemoteServerThenUpdateOrg(){ public void queryRemoteServerThenUpdateOrg(){
List<OrganizationQueryDto> items =new ArrayList<>(); List<OrganizationQueryDto> items = new ArrayList();
for(int i=0;i<2;i++){ for(int i=0;i<2;i++){
OrganizationQueryDto dto = new OrganizationQueryDto(); OrganizationQueryDto dto = new OrganizationQueryDto();
dto.setTaxPayerNumber("sadsafsdf3232"); dto.setTaxPayerNumber("sadsafsdf3232");
......
...@@ -13,6 +13,15 @@ public class ReportDto { ...@@ -13,6 +13,15 @@ public class ReportDto {
private Date createTime; private Date createTime;
private String updater; private String updater;
private Date updateTime; private Date updateTime;
private Integer reportType;
public Integer getReportType() {
return reportType;
}
public void setReportType(Integer reportType) {
this.reportType = reportType;
}
public String getId() { public String getId() {
return id; return id;
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
<result column="TEMPLATE_ID" jdbcType="INTEGER" property="templateId"/> <result column="TEMPLATE_ID" jdbcType="INTEGER" property="templateId"/>
<result column="TEMPLATE_NAME" jdbcType="VARCHAR" property="templateName"/> <result column="TEMPLATE_NAME" jdbcType="VARCHAR" property="templateName"/>
<result column="TEMPLATE_CODE" jdbcType="VARCHAR" property="templateCode"/> <result column="TEMPLATE_CODE" jdbcType="VARCHAR" property="templateCode"/>
<result column="REPORT_TYPE" jdbcType="INTEGER" property="reportType"/>
</resultMap> </resultMap>
<!--TODO: 考虑项目库表迁移--> <!--TODO: 考虑项目库表迁移-->
...@@ -112,13 +113,15 @@ ...@@ -112,13 +113,15 @@
D.period AS PERIOD, D.period AS PERIOD,
C.id AS TEMPLATE_ID, C.id AS TEMPLATE_ID,
C.name AS TEMPLATE_NAME, C.name AS TEMPLATE_NAME,
C.code AS TEMPLATE_CODE C.code AS TEMPLATE_CODE,
C.reportType AS REPORT_TYPE
FROM FROM
( (
SELECT SELECT
A.id as ID, A.id as ID,
A.name AS NAME, A.name AS NAME,
A.code AS CODE A.code AS CODE,
A.report_type AS reportType
FROM FROM
template A template A
WHERE WHERE
......
...@@ -54,9 +54,11 @@ constant.payTaxTypeList = [ ...@@ -54,9 +54,11 @@ constant.payTaxTypeList = [
{value: 2, name: '小规模纳税人'}]; {value: 2, name: '小规模纳税人'}];
constant.citReportTypeList = [ constant.citReportTypeList = [
{value: 1, name: '纳税申报表'}, { value: 1, name: 'TaxReturnType',orderIndex:2 },
{value: 2, name: '季度预缴表'}, { value: 2, name: 'QuarterlyFilingReturnType', orderIndex: 3 },
{value: 3, name: '工作底稿'}]; { value: 3, name: 'WorkingPaperType', orderIndex: 1 },
{ value: 4, name: 'DocumentListType', orderIndex: 4 },
{ value: 5, name: 'OtherTaxes', orderIndex: 5 }];
constant.cfReportTypeList = [ constant.cfReportTypeList = [
{value: 1, name: '企业所得税预算'}, {value: 1, name: '企业所得税预算'},
......
...@@ -129,7 +129,13 @@ commonModule.factory('enums', ['$translate', function ($translate) { ...@@ -129,7 +129,13 @@ commonModule.factory('enums', ['$translate', function ($translate) {
CF: "11", CF: "11",
AssetsManage: "12" AssetsManage: "12"
}, },
reportType: {
taxReturn: 1,
prepay: 2,
workingPaper: 3,
documentList: 4,
others: 5
},
//发票类型 //发票类型
invoiceType: { invoiceType: {
VATInvoice: 1, VATInvoice: 1,
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<a ui-sref-active="active" data-template-id="{{menu.id}}" <a ui-sref-active="active" data-template-id="{{menu.id}}"
ng-class="{'active':selectedTemplateId===menu.id}" ng-class="{'active':selectedTemplateId===menu.id}"
ui-sref=".reportView({ id: menu.reportId, templateid: menu.id, name:menu.name,templatecode:menu.code })" ui-sref=".reportView({ id: menu.reportId, templateid: menu.id, name:menu.name,templatecode:menu.code })"
ng-bind-html="::menu.name"></a> ng-bind-html="::menu.code+'_'+menu.name"></a>
</div> </div>
</div> </div>
</li> </li>
......
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