Commit d978f2c9 authored by sherlock's avatar sherlock

xxfp\去掉导出按钮

parent c0d2b961
...@@ -119,7 +119,7 @@ public class FunctionBase { ...@@ -119,7 +119,7 @@ public class FunctionBase {
dataSource.setId(dataSourceId); dataSource.setId(dataSourceId);
dataSource.setType(FormulaDataSourceType.Report.getCode()); dataSource.setType(FormulaDataSourceType.Report.getCode());
dataSource.setName("ReportDataSource"); dataSource.setName("ReportDataSource");
dataSource.setAmount(val); dataSource.setAmount(val.setScale(0, BigDecimal.ROUND_HALF_DOWN));
dataSource.setDescription("描述"); dataSource.setDescription("描述");
dataSource.setCreateBy("Admin"); dataSource.setCreateBy("Admin");
dataSource.setUpdateBy("Admin"); dataSource.setUpdateBy("Admin");
......
...@@ -140,6 +140,9 @@ public class XXFP extends FunctionBase implements FreeRefFunction { ...@@ -140,6 +140,9 @@ public class XXFP extends FunctionBase implements FreeRefFunction {
} }
private int getPeriodFromDate(String dateStr){ private int getPeriodFromDate(String dateStr){
if(StringUtils.isBlank(dateStr)){
return -1;
}
Date date = DateUtils.strToDate(dateStr); Date date = DateUtils.strToDate(dateStr);
Calendar cal = Calendar.getInstance(); Calendar cal = Calendar.getInstance();
cal.setTime(date); cal.setTime(date);
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<bean id="sqlSessionFactory2" class="org.mybatis.spring.SqlSessionFactoryBean"> <bean id="sqlSessionFactory2" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="datasource2"/> <property name="dataSource" ref="datasource2"/>
<property name="configLocation" value="classpath:sqlMapConfig.xml"/> <property name="configLocation" value="classpath:sqlMapConfig.xml"/>
<property name="mapperLocations" value="classpath*:pwc/taxtech/atms/invoice/*Mapper.xml"/> <property name="mapperLocations" value="classpath*:pwc/taxtech/atms/**/*Mapper.xml"/>
</bean> </bean>
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
permission-code="{{$root.adminPermission.basicData.businessUnit.editCode}}"> permission-code="{{$root.adminPermission.basicData.businessUnit.editCode}}">
<i class=" material-icons">add_circle_outline</i> <span translate="BusinessUnitAddNew"></span> <i class=" material-icons">add_circle_outline</i> <span translate="BusinessUnitAddNew"></span>
</button> </button>
<export-button style="float: right; margin-right: 15px; margin-top: 9px;"><export-button>
</div> </div>
<div class="list-container"> <div class="list-container">
......
...@@ -35,10 +35,7 @@ ...@@ -35,10 +35,7 @@
</div> </div>
</div> </div>
<div class="align-right" style="margin-top:5px;">
<!--<button class="btn btn-export" type="button" ng-click="" translate="Export"></button>-->
<!--<export-button style="float: right; margin-left: 0px; margin-top: 7px"><export-button>-->
</div>
<div class="right-operate "> <div class="right-operate ">
<!-- board展示 --> <!-- board展示 -->
......
...@@ -45,11 +45,6 @@ ...@@ -45,11 +45,6 @@
<button type="button" id="organizationIsActiveBtn" ng-if="hasEditPermission" class="btn" ng-class="{true:'btn-secondary', false:'btn-in-grid'}[!selectCompany.isActive]" ng-click="updateIsActive()" ng-disabled="!isCanOrganizationIsActiveBtn"><i ng-show="selectCompany.isActive" class="material-icons stop">block</i>{{selectCompany.isActiveStr}}</button> <button type="button" id="organizationIsActiveBtn" ng-if="hasEditPermission" class="btn" ng-class="{true:'btn-secondary', false:'btn-in-grid'}[!selectCompany.isActive]" ng-click="updateIsActive()" ng-disabled="!isCanOrganizationIsActiveBtn"><i ng-show="selectCompany.isActive" class="material-icons stop">block</i>{{selectCompany.isActiveStr}}</button>
<span class="align-right">
<!--<button class="btn btn-export" type="button" ng-click="" translate="Export"></button>-->
<export-button style="float: right; margin-left: 0px; margin-top: 7px"><export-button>
</span>
<span class="right-operate "> <span class="right-operate ">
<!-- board展示 --> <!-- board展示 -->
<a class="display-user" href="#/organizationViewInfrastructure/organizationBusinessUnitView" title="{{'ShowAsCard' | translate}}"><i class="fa fa-th" aria-hidden="true"></i></a> <a class="display-user" href="#/organizationViewInfrastructure/organizationBusinessUnitView" title="{{'ShowAsCard' | translate}}"><i class="fa fa-th" aria-hidden="true"></i></a>
......
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