├── einvoice-core ├── einvoice-core.iml ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── core │ ├── bean │ ├── EinvoiceBody.java │ ├── EinvoiceHead.java │ ├── EinvoiceLog.java │ └── User.java │ ├── constant │ ├── EinvoiceReturn.java │ ├── EinvoiceStatus.java │ └── EinvoiceType.java │ ├── dao │ ├── EinvoiceBodyDao.java │ ├── EinvoiceHeadDao.java │ ├── EinvoiceLogDao.java │ └── IUserDao.java │ ├── service │ ├── EinvoiceService.java │ └── LogService.java │ └── util │ ├── JsonUtil.java │ └── StringUtil.java ├── einvoice-demo ├── einvoice-demo.iml ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ ├── SpringBootStart.java │ │ │ └── demo │ │ │ ├── action │ │ │ └── EinvoiceAction.java │ │ │ ├── constants │ │ │ ├── InvoiceConstants.java │ │ │ └── InvoiceParamKeys.java │ │ │ ├── util │ │ │ ├── EinvoiceUtil.java │ │ │ ├── HttpUtil.java │ │ │ ├── JsonUtil.java │ │ │ ├── MD5Util.java │ │ │ ├── MapUtil.java │ │ │ └── StringUtil.java │ │ │ └── vo │ │ │ ├── InvoiceOrder.java │ │ │ ├── InvoiceOrderBody.java │ │ │ ├── InvoiceOrderResponse.java │ │ │ └── InvoiceVo.java │ └── resources │ │ ├── application.properties │ │ ├── logback.xml │ │ └── templates │ │ ├── index.html │ │ ├── query.html │ │ └── result.html │ └── test │ └── java │ └── com │ └── demo │ └── Test.java ├── einvoice-management ├── einvoice-management.iml ├── pom.xml └── src │ └── main │ ├── conf │ ├── dev │ │ ├── config │ │ │ └── application.properties │ │ └── log4j2-test.xml │ └── production │ │ ├── config │ │ └── .gitignore │ │ └── log4j2.xml │ ├── java │ └── com │ │ └── management │ │ ├── commons │ │ ├── base │ │ │ └── BaseController.java │ │ ├── result │ │ │ ├── Result.java │ │ │ └── Tree.java │ │ ├── scan │ │ │ ├── ExceptionResolver.java │ │ │ ├── JacksonObjectMapper.java │ │ │ ├── JsonpResponseAdvice.java │ │ │ ├── SpringUtils.java │ │ │ └── SysLogAspect.java │ │ ├── shiro │ │ │ ├── ShiroDbRealm.java │ │ │ └── ShiroUser.java │ │ └── utils │ │ │ ├── BeanUtils.java │ │ │ ├── Charsets.java │ │ │ ├── DigestUtils.java │ │ │ ├── IOUtils.java │ │ │ ├── JsonUtils.java │ │ │ ├── PageInfo.java │ │ │ ├── RuntimeUtils.java │ │ │ ├── StringEscapeEditor.java │ │ │ └── StringUtils.java │ │ ├── controller │ │ ├── EinvoiceController.java │ │ ├── LoginController.java │ │ ├── OrganizationController.java │ │ ├── ResourceController.java │ │ ├── RoleController.java │ │ ├── SysLogController.java │ │ ├── TestController.java │ │ ├── UserController.java │ │ └── WebHooksController.java │ │ ├── event │ │ ├── WebHooksEvent.java │ │ └── WebHooksListener.java │ │ ├── mapper │ │ ├── EinvoiceBodyMapper.java │ │ ├── EinvoiceHeadMapper.java │ │ ├── OrganizationMapper.java │ │ ├── ResourceMapper.java │ │ ├── RoleMapper.java │ │ ├── RoleResourceMapper.java │ │ ├── SysLogMapper.java │ │ ├── UserMapper.java │ │ └── UserRoleMapper.java │ │ ├── model │ │ ├── EinvoiceBody.java │ │ ├── EinvoiceHead.java │ │ ├── Organization.java │ │ ├── Resource.java │ │ ├── Role.java │ │ ├── RoleResource.java │ │ ├── SysLog.java │ │ ├── User.java │ │ ├── UserRole.java │ │ └── vo │ │ │ ├── EinvoiceParmVo.java │ │ │ └── UserVo.java │ │ ├── service │ │ ├── IEinvoiceBodyService.java │ │ ├── IEinvoiceHeadService.java │ │ ├── IOrganizationService.java │ │ ├── IResourceService.java │ │ ├── IRoleResourceService.java │ │ ├── IRoleService.java │ │ ├── ISysLogService.java │ │ ├── IUserRoleService.java │ │ ├── IUserService.java │ │ └── impl │ │ │ ├── EinvoiceBodyServiceImpl.java │ │ │ ├── EinvoiceHeadServiceImpl.java │ │ │ ├── OrganizationServiceImpl.java │ │ │ ├── ResourceServiceImpl.java │ │ │ ├── RoleResourceServiceImpl.java │ │ │ ├── RoleServiceImpl.java │ │ │ ├── SysLogServiceImpl.java │ │ │ ├── UserRoleServiceImpl.java │ │ │ └── UserServiceImpl.java │ │ └── util │ │ └── RandomKey.java │ ├── resources │ ├── ehcache-shiro.xml │ ├── mybatis-config.xml │ ├── spring-config.xml │ ├── spring │ │ ├── spring-mybatis.xml │ │ ├── spring-shiro.xml │ │ └── spring-task.xml │ ├── springmvc-servlet.xml │ └── sqlMapperXml │ │ ├── EinvoiceBodyMapper.xml │ │ ├── EinvoiceHeadMapper.xml │ │ ├── OrganizationMapper.xml │ │ ├── ResourceMapper.xml │ │ ├── RoleMapper.xml │ │ ├── RoleResourceMapper.xml │ │ ├── SysLogMapper.xml │ │ ├── UserMapper.xml │ │ └── UserRoleMapper.xml │ └── webapp │ ├── WEB-INF │ ├── views │ │ ├── admin │ │ │ ├── organization.jsp │ │ │ ├── organizationAdd.jsp │ │ │ ├── organizationEdit.jsp │ │ │ ├── resource.jsp │ │ │ ├── resourceAdd.jsp │ │ │ ├── resourceEdit.jsp │ │ │ ├── role.jsp │ │ │ ├── roleAdd.jsp │ │ │ ├── roleEdit.jsp │ │ │ ├── roleGrant.jsp │ │ │ ├── syslog.jsp │ │ │ ├── test.jsp │ │ │ ├── user.jsp │ │ │ ├── userAdd.jsp │ │ │ ├── userEdit.jsp │ │ │ └── userEditPwd.jsp │ │ ├── einvoice │ │ │ ├── body.jsp │ │ │ └── head.jsp │ │ ├── error │ │ │ ├── 404.jsp │ │ │ └── 500.jsp │ │ ├── index.jsp │ │ └── login.jsp │ └── web.xml │ ├── commons │ ├── basejs.jsp │ └── global.jsp │ └── static │ ├── My97DatePicker │ ├── WdatePicker.js │ ├── calendar.js │ ├── lang │ │ ├── en.js │ │ ├── zh-cn.js │ │ └── zh-tw.js │ └── skin │ │ ├── WdatePicker.css │ │ ├── datePicker.gif │ │ ├── default │ │ ├── datepicker.css │ │ └── img.gif │ │ └── whyGreen │ │ ├── bg.jpg │ │ ├── datepicker.css │ │ └── img.gif │ ├── easyui │ ├── easyloader.js │ ├── jquery.easyui.min.js │ ├── jquery.easyui.mobile.js │ ├── jquery.min.js │ ├── locale │ │ ├── easyui-lang-af.js │ │ ├── easyui-lang-am.js │ │ ├── easyui-lang-ar.js │ │ ├── easyui-lang-bg.js │ │ ├── easyui-lang-ca.js │ │ ├── easyui-lang-cs.js │ │ ├── easyui-lang-cz.js │ │ ├── easyui-lang-da.js │ │ ├── easyui-lang-de.js │ │ ├── easyui-lang-el.js │ │ ├── easyui-lang-en.js │ │ ├── easyui-lang-es.js │ │ ├── easyui-lang-fr.js │ │ ├── easyui-lang-it.js │ │ ├── easyui-lang-jp.js │ │ ├── easyui-lang-nl.js │ │ ├── easyui-lang-pl.js │ │ ├── easyui-lang-pt_BR.js │ │ ├── easyui-lang-ru.js │ │ ├── easyui-lang-sv_SE.js │ │ ├── easyui-lang-tr.js │ │ ├── easyui-lang-zh_CN.js │ │ └── easyui-lang-zh_TW.js │ ├── plugins │ │ ├── jquery.accordion.js │ │ ├── jquery.calendar.js │ │ ├── jquery.combo.js │ │ ├── jquery.combobox.js │ │ ├── jquery.combogrid.js │ │ ├── jquery.combotree.js │ │ ├── jquery.datagrid.js │ │ ├── jquery.datalist.js │ │ ├── jquery.datebox.js │ │ ├── jquery.datetimebox.js │ │ ├── jquery.datetimespinner.js │ │ ├── jquery.dialog.js │ │ ├── jquery.draggable.js │ │ ├── jquery.droppable.js │ │ ├── jquery.filebox.js │ │ ├── jquery.form.js │ │ ├── jquery.layout.js │ │ ├── jquery.linkbutton.js │ │ ├── jquery.menu.js │ │ ├── jquery.menubutton.js │ │ ├── jquery.messager.js │ │ ├── jquery.mobile.js │ │ ├── jquery.numberbox.js │ │ ├── jquery.numberspinner.js │ │ ├── jquery.pagination.js │ │ ├── jquery.panel.js │ │ ├── jquery.parser.js │ │ ├── jquery.progressbar.js │ │ ├── jquery.propertygrid.js │ │ ├── jquery.resizable.js │ │ ├── jquery.searchbox.js │ │ ├── jquery.slider.js │ │ ├── jquery.spinner.js │ │ ├── jquery.splitbutton.js │ │ ├── jquery.switchbutton.js │ │ ├── jquery.tabs.js │ │ ├── jquery.textbox.js │ │ ├── jquery.timespinner.js │ │ ├── jquery.tooltip.js │ │ ├── jquery.tree.js │ │ ├── jquery.treegrid.js │ │ ├── jquery.validatebox.js │ │ └── jquery.window.js │ └── themes │ │ ├── black │ │ ├── accordion.css │ │ ├── calendar.css │ │ ├── combo.css │ │ ├── combobox.css │ │ ├── datagrid.css │ │ ├── datalist.css │ │ ├── datebox.css │ │ ├── dialog.css │ │ ├── easyui.css │ │ ├── filebox.css │ │ ├── images │ │ │ ├── accordion_arrows.png │ │ │ ├── blank.gif │ │ │ ├── calendar_arrows.png │ │ │ ├── combo_arrow.png │ │ │ ├── datagrid_icons.png │ │ │ ├── datebox_arrow.png │ │ │ ├── layout_arrows.png │ │ │ ├── linkbutton_bg.png │ │ │ ├── loading.gif │ │ │ ├── menu_arrows.png │ │ │ ├── messager_icons.png │ │ │ ├── pagination_icons.png │ │ │ ├── panel_tools.png │ │ │ ├── searchbox_button.png │ │ │ ├── slider_handle.png │ │ │ ├── spinner_arrows.png │ │ │ ├── tabs_icons.png │ │ │ ├── tree_icons.png │ │ │ └── validatebox_warning.png │ │ ├── layout.css │ │ ├── linkbutton.css │ │ ├── menu.css │ │ ├── menubutton.css │ │ ├── messager.css │ │ ├── numberbox.css │ │ ├── pagination.css │ │ ├── panel.css │ │ ├── progressbar.css │ │ ├── propertygrid.css │ │ ├── searchbox.css │ │ ├── slider.css │ │ ├── spinner.css │ │ ├── splitbutton.css │ │ ├── switchbutton.css │ │ ├── tabs.css │ │ ├── textbox.css │ │ ├── tooltip.css │ │ ├── tree.css │ │ ├── validatebox.css │ │ └── window.css │ │ ├── bootstrap │ │ ├── accordion.css │ │ ├── calendar.css │ │ ├── combo.css │ │ ├── combobox.css │ │ ├── datagrid.css │ │ ├── datalist.css │ │ ├── datebox.css │ │ ├── dialog.css │ │ ├── easyui.css │ │ ├── filebox.css │ │ ├── images │ │ │ ├── accordion_arrows.png │ │ │ ├── blank.gif │ │ │ ├── calendar_arrows.png │ │ │ ├── combo_arrow.png │ │ │ ├── datagrid_icons.png │ │ │ ├── datebox_arrow.png │ │ │ ├── layout_arrows.png │ │ │ ├── linkbutton_bg.png │ │ │ ├── loading.gif │ │ │ ├── menu_arrows.png │ │ │ ├── messager_icons.png │ │ │ ├── pagination_icons.png │ │ │ ├── panel_tools.png │ │ │ ├── searchbox_button.png │ │ │ ├── slider_handle.png │ │ │ ├── spinner_arrows.png │ │ │ ├── tabs_icons.png │ │ │ ├── tree_icons.png │ │ │ └── validatebox_warning.png │ │ ├── layout.css │ │ ├── linkbutton.css │ │ ├── menu.css │ │ ├── menubutton.css │ │ ├── messager.css │ │ ├── numberbox.css │ │ ├── pagination.css │ │ ├── panel.css │ │ ├── progressbar.css │ │ ├── propertygrid.css │ │ ├── searchbox.css │ │ ├── slider.css │ │ ├── spinner.css │ │ ├── splitbutton.css │ │ ├── switchbutton.css │ │ ├── tabs.css │ │ ├── textbox.css │ │ ├── tooltip.css │ │ ├── tree.css │ │ ├── validatebox.css │ │ └── window.css │ │ ├── color.css │ │ ├── default │ │ ├── accordion.css │ │ ├── calendar.css │ │ ├── combo.css │ │ ├── combobox.css │ │ ├── datagrid.css │ │ ├── datalist.css │ │ ├── datebox.css │ │ ├── dialog.css │ │ ├── easyui.css │ │ ├── filebox.css │ │ ├── images │ │ │ ├── accordion_arrows.png │ │ │ ├── blank.gif │ │ │ ├── calendar_arrows.png │ │ │ ├── combo_arrow.png │ │ │ ├── datagrid_icons.png │ │ │ ├── datebox_arrow.png │ │ │ ├── layout_arrows.png │ │ │ ├── linkbutton_bg.png │ │ │ ├── loading.gif │ │ │ ├── menu_arrows.png │ │ │ ├── messager_icons.png │ │ │ ├── pagination_icons.png │ │ │ ├── panel_tools.png │ │ │ ├── searchbox_button.png │ │ │ ├── slider_handle.png │ │ │ ├── spinner_arrows.png │ │ │ ├── tabs_icons.png │ │ │ ├── tree_icons.png │ │ │ └── validatebox_warning.png │ │ ├── layout.css │ │ ├── linkbutton.css │ │ ├── menu.css │ │ ├── menubutton.css │ │ ├── messager.css │ │ ├── numberbox.css │ │ ├── pagination.css │ │ ├── panel.css │ │ ├── progressbar.css │ │ ├── propertygrid.css │ │ ├── searchbox.css │ │ ├── slider.css │ │ ├── spinner.css │ │ ├── splitbutton.css │ │ ├── switchbutton.css │ │ ├── tabs.css │ │ ├── textbox.css │ │ ├── tooltip.css │ │ ├── tree.css │ │ ├── validatebox.css │ │ └── window.css │ │ ├── gray │ │ ├── accordion.css │ │ ├── calendar.css │ │ ├── combo.css │ │ ├── combobox.css │ │ ├── datagrid.css │ │ ├── datalist.css │ │ ├── datebox.css │ │ ├── dialog.css │ │ ├── easyui.css │ │ ├── filebox.css │ │ ├── images │ │ │ ├── accordion_arrows.png │ │ │ ├── blank.gif │ │ │ ├── calendar_arrows.png │ │ │ ├── combo_arrow.png │ │ │ ├── datagrid_icons.png │ │ │ ├── datebox_arrow.png │ │ │ ├── layout_arrows.png │ │ │ ├── linkbutton_bg.png │ │ │ ├── loading.gif │ │ │ ├── menu_arrows.png │ │ │ ├── messager_icons.png │ │ │ ├── pagination_icons.png │ │ │ ├── panel_tools.png │ │ │ ├── searchbox_button.png │ │ │ ├── slider_handle.png │ │ │ ├── spinner_arrows.png │ │ │ ├── tabs_icons.png │ │ │ ├── tree_icons.png │ │ │ └── validatebox_warning.png │ │ ├── layout.css │ │ ├── linkbutton.css │ │ ├── menu.css │ │ ├── menubutton.css │ │ ├── messager.css │ │ ├── numberbox.css │ │ ├── pagination.css │ │ ├── panel.css │ │ ├── progressbar.css │ │ ├── propertygrid.css │ │ ├── searchbox.css │ │ ├── slider.css │ │ ├── spinner.css │ │ ├── splitbutton.css │ │ ├── switchbutton.css │ │ ├── tabs.css │ │ ├── textbox.css │ │ ├── tooltip.css │ │ ├── tree.css │ │ ├── validatebox.css │ │ └── window.css │ │ ├── icon.css │ │ ├── icons │ │ ├── add.png │ │ ├── back.png │ │ ├── blank.gif │ │ ├── btn.png │ │ ├── cancel.png │ │ ├── clear.png │ │ ├── company.png │ │ ├── cut.png │ │ ├── del.png │ │ ├── edit_add.png │ │ ├── edit_remove.png │ │ ├── filesave.png │ │ ├── filter.png │ │ ├── folder.png │ │ ├── help.png │ │ ├── home.png │ │ ├── large_chart.png │ │ ├── large_clipart.png │ │ ├── large_picture.png │ │ ├── large_shapes.png │ │ ├── large_smartart.png │ │ ├── list.png │ │ ├── lock.png │ │ ├── man.png │ │ ├── mini_add.png │ │ ├── mini_edit.png │ │ ├── mini_refresh.png │ │ ├── more.png │ │ ├── no.png │ │ ├── ok.png │ │ ├── pencil.png │ │ ├── print.png │ │ ├── redo.png │ │ ├── refresh.png │ │ ├── reload.png │ │ ├── search.png │ │ ├── sum.png │ │ ├── tip.png │ │ └── undo.png │ │ ├── metro │ │ ├── accordion.css │ │ ├── calendar.css │ │ ├── combo.css │ │ ├── combobox.css │ │ ├── datagrid.css │ │ ├── datalist.css │ │ ├── datebox.css │ │ ├── dialog.css │ │ ├── easyui.css │ │ ├── filebox.css │ │ ├── images │ │ │ ├── accordion_arrows.png │ │ │ ├── blank.gif │ │ │ ├── calendar_arrows.png │ │ │ ├── combo_arrow.png │ │ │ ├── datagrid_icons.png │ │ │ ├── datebox_arrow.png │ │ │ ├── layout_arrows.png │ │ │ ├── linkbutton_bg.png │ │ │ ├── loading.gif │ │ │ ├── menu_arrows.png │ │ │ ├── messager_icons.png │ │ │ ├── pagination_icons.png │ │ │ ├── panel_tools.png │ │ │ ├── searchbox_button.png │ │ │ ├── slider_handle.png │ │ │ ├── spinner_arrows.png │ │ │ ├── tabs_icons.png │ │ │ ├── tree_icons.png │ │ │ └── validatebox_warning.png │ │ ├── layout.css │ │ ├── linkbutton.css │ │ ├── menu.css │ │ ├── menubutton.css │ │ ├── messager.css │ │ ├── numberbox.css │ │ ├── pagination.css │ │ ├── panel.css │ │ ├── progressbar.css │ │ ├── propertygrid.css │ │ ├── searchbox.css │ │ ├── slider.css │ │ ├── spinner.css │ │ ├── splitbutton.css │ │ ├── switchbutton.css │ │ ├── tabs.css │ │ ├── textbox.css │ │ ├── tooltip.css │ │ ├── tree.css │ │ ├── validatebox.css │ │ └── window.css │ │ └── mobile.css │ ├── echart │ ├── chart │ │ ├── bar.js │ │ ├── chord.js │ │ ├── eventRiver.js │ │ ├── force.js │ │ ├── funnel.js │ │ ├── gauge.js │ │ ├── k.js │ │ ├── line.js │ │ ├── map.js │ │ ├── pie.js │ │ ├── radar.js │ │ └── scatter.js │ ├── echarts-all.js │ └── echarts.js │ ├── extJs.js │ ├── icommon.css │ ├── image │ ├── favicon.ico │ └── logo.jpg │ ├── login.js │ ├── style │ ├── css │ │ ├── dreamlu.css │ │ └── login.css │ └── images │ │ ├── ajax-loader.gif │ │ ├── hand.png │ │ ├── left-handing.png │ │ ├── left_hand.png │ │ ├── logo.png │ │ ├── password.png │ │ ├── right_hand.png │ │ ├── right_handing.png │ │ ├── tou.png │ │ └── username.png │ └── tabicons.gif ├── einvoice-query ├── einvoice-query.iml ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ ├── SpringBootStart.java │ │ └── query │ │ ├── action │ │ └── QueryAciton.java │ │ └── util │ │ └── DateUtil.java │ └── resources │ ├── application.properties │ ├── logback.xml │ ├── static │ ├── css │ │ └── mycss.css │ ├── image │ │ ├── favicon.ico │ │ └── logo.jpg │ └── js │ │ ├── indexjs.js │ │ └── jquery.min.js │ └── templates │ ├── index.html │ └── list.html ├── einvoice-service ├── einvoice-service.iml ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ ├── SpringBootStart.java │ │ │ └── service │ │ │ ├── action │ │ │ └── EinvoiceAction.java │ │ │ ├── constants │ │ │ ├── InvoiceConstants.java │ │ │ ├── InvoiceParamKeys.java │ │ │ └── SignType.java │ │ │ ├── service │ │ │ ├── InvoiceService.java │ │ │ └── SignVerifyService.java │ │ │ ├── util │ │ │ ├── MD5Util.java │ │ │ ├── MapUtil.java │ │ │ └── ResponseUtil.java │ │ │ └── vo │ │ │ ├── InvoiceOrder.java │ │ │ ├── InvoiceOrderBody.java │ │ │ └── InvoiceOrderResponse.java │ └── resources │ │ ├── application.properties │ │ └── logback.xml │ └── test │ └── java │ └── com │ └── JsonTest1.java └── einvoice-task ├── einvoice-task.iml ├── pom.xml └── src ├── main ├── java │ └── com │ │ ├── SpringBootStart.java │ │ └── task │ │ ├── service │ │ └── EinvoiceXmlPdfService.java │ │ ├── task │ │ └── XmlPdfTask.java │ │ └── util │ │ ├── DateUtil.java │ │ ├── FileUtil.java │ │ ├── MatrixToImageWriter.java │ │ ├── NumberToCN.java │ │ ├── PdfUtil.java │ │ ├── QrcodeUtil.java │ │ └── XmlUtil.java └── resources │ ├── application.properties │ └── logback.xml └── test └── java └── ReadTest.java /einvoice-core/src/main/java/com/core/bean/EinvoiceLog.java: -------------------------------------------------------------------------------- 1 | package com.core.bean; 2 | 3 | import javax.persistence.*; 4 | 5 | /** 6 | * Created by sdyang on 2016/10/11. 7 | */ 8 | @Entity 9 | @Table(name = "einvoice_log") 10 | public class EinvoiceLog { 11 | 12 | @Id 13 | @GeneratedValue(strategy = GenerationType.IDENTITY) 14 | private Long pk_log; // 主键 15 | 16 | @Lob 17 | private String content;//报文信息 18 | 19 | @Column 20 | private String logtype;//日志类型 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/constant/EinvoiceReturn.java: -------------------------------------------------------------------------------- 1 | package com.core.constant; 2 | 3 | /** 4 | * Created by sdyang on 2016/10/16. 5 | */ 6 | public enum EinvoiceReturn { 7 | 8 | SUCCESS("0000", "success"), FAIL("1111", "fail"),CHECK_SIGN_FAIL("2222","验签失败"),OTHER_ERROR("3333",""),MERCHANT_NOT_EXSIT("4444","该商户不存在"),ORDER_NO_NOT_EXSIT("5555","该订单不存在"); 9 | 10 | private String code; 11 | private String message; 12 | 13 | private EinvoiceReturn(String code, String message) { 14 | this.code = code; 15 | this.message = message; 16 | } 17 | 18 | // 普通方法 19 | public static String getMessage(String code) { 20 | for (EinvoiceReturn c : EinvoiceReturn.values()) { 21 | if (c.getCode() == code) { 22 | return c.message; 23 | } 24 | } 25 | return null; 26 | } 27 | 28 | public String getCode() { 29 | return code; 30 | } 31 | 32 | public void setCode(String code) { 33 | this.code = code; 34 | } 35 | 36 | public String getMessage() { 37 | return message; 38 | } 39 | 40 | public void setMessage(String message) { 41 | this.message = message; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/constant/EinvoiceStatus.java: -------------------------------------------------------------------------------- 1 | package com.core.constant; 2 | 3 | /** 4 | * Created by sdyang on 2016/10/7. 5 | */ 6 | public enum EinvoiceStatus { 7 | 8 | RECEVICE_SUCCESS("开票数据接收成功", 1), RECEVICE_FAIL("开票数据接收失败", 2), 9 | GENXML_SUCCESS("生成开票XML成功", 3), GENXML_FAIL("生成开票XML失败", 4), 10 | BILLING_SUCCESS("开票成功",5),BILLING_FIAL("开票失败",6), 11 | GENPDF_SUCCESS("生成PDF成功",7),GENPDF_FIAL("生成PDF失败",8), 12 | SIGN_SUCCESS("电子签名成功",9),SIGN_FAIL("电子签名失败",10), 13 | RESULT_RETURN("结果已回传",11),CANCEL("蓝票已冲红",12); 14 | 15 | private String name; 16 | private int index; 17 | 18 | // 构造方法 19 | private EinvoiceStatus(String name, int index) { 20 | this.name = name; 21 | this.index = index; 22 | } 23 | 24 | // 普通方法 25 | public static String getName(int index) { 26 | for (EinvoiceStatus c : EinvoiceStatus.values()) { 27 | if (c.getIndex() == index) { 28 | return c.name; 29 | } 30 | } 31 | return null; 32 | } 33 | 34 | // get set 方法 35 | public String getName() { 36 | return name; 37 | } 38 | 39 | public void setName(String name) { 40 | this.name = name; 41 | } 42 | 43 | public int getIndex() { 44 | return index; 45 | } 46 | 47 | public void setIndex(int index) { 48 | this.index = index; 49 | } 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/constant/EinvoiceType.java: -------------------------------------------------------------------------------- 1 | package com.core.constant; 2 | 3 | /** 4 | * Created by sdyang on 2016/10/16. 5 | */ 6 | public enum EinvoiceType { 7 | 8 | BLUE("蓝票", 0), RED("红票", 1); 9 | 10 | private String name; 11 | private int index; 12 | 13 | // 构造方法 14 | private EinvoiceType(String name, int index) { 15 | this.name = name; 16 | this.index = index; 17 | } 18 | 19 | // 普通方法 20 | public static String getName(int index) { 21 | for (EinvoiceType c : EinvoiceType.values()) { 22 | if (c.getIndex() == index) { 23 | return c.name; 24 | } 25 | } 26 | return null; 27 | } 28 | 29 | // get set 方法 30 | public String getName() { 31 | return name; 32 | } 33 | 34 | public void setName(String name) { 35 | this.name = name; 36 | } 37 | 38 | public int getIndex() { 39 | return index; 40 | } 41 | 42 | public void setIndex(int index) { 43 | this.index = index; 44 | } 45 | 46 | 47 | } 48 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/dao/EinvoiceBodyDao.java: -------------------------------------------------------------------------------- 1 | package com.core.dao; 2 | 3 | import com.core.bean.EinvoiceBody; 4 | import org.springframework.data.jpa.repository.Query; 5 | import org.springframework.data.repository.CrudRepository; 6 | import org.springframework.data.repository.query.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * Created by sdyang on 2016/10/6. 12 | */ 13 | public interface EinvoiceBodyDao extends CrudRepository{ 14 | 15 | //根据主表主键查询 16 | @Query(nativeQuery = true,value = " select * from einvoice_body where dr=0 and pk_einvoicehead=:pk_einvoicehead ") 17 | public List getByPk_einvoicehead(@Param("pk_einvoicehead")Long pk_einvoicehead); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/dao/EinvoiceLogDao.java: -------------------------------------------------------------------------------- 1 | package com.core.dao; 2 | 3 | import com.core.bean.EinvoiceLog; 4 | import org.springframework.data.repository.CrudRepository; 5 | 6 | /** 7 | * Created by sdyang on 2016/10/11. 8 | */ 9 | public interface EinvoiceLogDao extends CrudRepository { 10 | } 11 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/dao/IUserDao.java: -------------------------------------------------------------------------------- 1 | package com.core.dao; 2 | 3 | 4 | import com.core.bean.User; 5 | import org.springframework.data.jpa.repository.Query; 6 | import org.springframework.data.repository.CrudRepository; 7 | import org.springframework.data.repository.query.Param; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * 13 | * 14 | * @author sdyang 15 | * @date 2016年1月23日 下午5:42:27 16 | */ 17 | public interface IUserDao extends CrudRepository { 18 | 19 | // 根据用户登录帐号查询用户信息 20 | User findByLoginName(String loginName); 21 | 22 | //根据商户编码查找用户 23 | @Query(nativeQuery = true,value = "select * from user where merchant_code = :merchant_code ") 24 | User getByMerchant_code(@Param("merchant_code") String merchant_code); 25 | } 26 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/service/LogService.java: -------------------------------------------------------------------------------- 1 | package com.core.service; 2 | 3 | import com.core.bean.EinvoiceLog; 4 | import com.core.dao.EinvoiceLogDao; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Service; 7 | 8 | /** 9 | * Created by sdyang on 2016/10/11. 10 | */ 11 | @Service 12 | public class LogService { 13 | 14 | @Autowired 15 | private EinvoiceLogDao einvoiceLogDao; 16 | 17 | 18 | public void insert(EinvoiceLog einvoiceLog){ 19 | einvoiceLogDao.save(einvoiceLog); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/util/JsonUtil.java: -------------------------------------------------------------------------------- 1 | package com.core.util; 2 | 3 | import com.alibaba.fastjson.JSON; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Created by sdyang on 2016/10/8. 9 | */ 10 | public class JsonUtil { 11 | 12 | public static T parseObject(String json,Class clazz){ 13 | return JSON.parseObject(json, clazz); 14 | } 15 | 16 | public static String toJSONString(Object object){ 17 | return JSON.toJSONString(object); 18 | } 19 | 20 | public static List parseArray(String json, Class clasz){return JSON.parseArray(json,clasz);} 21 | } 22 | -------------------------------------------------------------------------------- /einvoice-core/src/main/java/com/core/util/StringUtil.java: -------------------------------------------------------------------------------- 1 | package com.core.util; 2 | 3 | /** 4 | * Created by sdyang on 2016/10/13. 5 | */ 6 | public class StringUtil { 7 | 8 | public static boolean isEmpty(String str) { 9 | return str == null || str.length() == 0; 10 | } 11 | 12 | public static boolean isNotEmpty(String str) { 13 | return !isEmpty(str); 14 | } 15 | 16 | public static String getValue(String str){ 17 | if(isEmpty(str)) return ""; 18 | return str; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/java/com/demo/constants/InvoiceConstants.java: -------------------------------------------------------------------------------- 1 | package com.demo.constants; 2 | 3 | /** 4 | * 5 | * */ 6 | 7 | public class InvoiceConstants { 8 | 9 | public static String SYMBOL_AND = "&"; 10 | 11 | public static String SYMBOL_EQUAL = "="; 12 | 13 | public static String CHARSET_GBK = "GBK"; 14 | 15 | public static String CERT = "cert"; 16 | 17 | public static String CERT_SUFFIX = ".p12"; 18 | 19 | public static String VERSION = "1.0"; 20 | 21 | public static String CHARSET_UTF8 = "utf-8"; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/java/com/demo/constants/InvoiceParamKeys.java: -------------------------------------------------------------------------------- 1 | package com.demo.constants; 2 | 3 | /** 4 | * 名称:Hyt接口参数换 版本:1.1 日期:2015-07 作者:深圳市前海汇银通支付科技有限公司技术管理部 版权:深圳市前海汇银通支付科技有限公司 5 | * 说明:以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。该代码仅供参考。 6 | * */ 7 | 8 | public class InvoiceParamKeys { 9 | 10 | public static String CHARSET = "charset"; 11 | 12 | public static String VERSION = "version"; 13 | 14 | public static String MERCHANT_CERT = "merchant_cert"; 15 | 16 | public static String MERCHANT_SIGN = "merchant_sign"; 17 | 18 | public static String SIGN_TYPE = "sign_type"; 19 | 20 | public static String MERCHANT_CODE = "merchant_code"; 21 | 22 | public static String MERCHANT_NAME = "merchant_name"; 23 | 24 | public static String APP_NO = "app_no"; 25 | 26 | public static String ATTACH = "attach"; 27 | 28 | public static String NOTIFY_URL = "notify_url"; 29 | 30 | public static String RETURN_CODE = "return_code"; 31 | 32 | public static String RETURN_MSG = "return_msg"; 33 | 34 | public static String SUBMITDATE="submitdate"; 35 | 36 | public static String SERVER_SIGN="server_sign"; 37 | 38 | public static String SERVER_CERT="server_cert"; 39 | 40 | public static String KEY="key"; 41 | 42 | public static String INVOICE_ORDERBODY_LIST="invoiceOrderBodyList"; 43 | 44 | } 45 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/java/com/demo/util/JsonUtil.java: -------------------------------------------------------------------------------- 1 | package com.demo.util; 2 | 3 | import com.alibaba.fastjson.JSON; 4 | 5 | /** 6 | * Created by sdyang on 2016/10/8. 7 | */ 8 | public class JsonUtil { 9 | 10 | public static T parseObject(String json,Class clazz){ 11 | return JSON.parseObject(json, clazz); 12 | } 13 | 14 | public static String toJSONString(Object object){ 15 | return JSON.toJSONString(object); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/java/com/demo/util/MapUtil.java: -------------------------------------------------------------------------------- 1 | package com.demo.util; 2 | 3 | import java.lang.reflect.Field; 4 | import java.lang.reflect.Method; 5 | import java.lang.reflect.Modifier; 6 | import java.util.HashMap; 7 | import java.util.Map; 8 | 9 | /** 10 | * Created by sdyang on 2016/10/11. 11 | */ 12 | public class MapUtil { 13 | 14 | //将bean对象转换为map 15 | public static Map beanToMap(Object entity) { 16 | Class c = entity.getClass(); 17 | Object fieldValue = null; 18 | String fieldName = null; 19 | Field[] fields = c.getDeclaredFields(); 20 | Map fieldMap = new HashMap(); 21 | for (Field field : fields) { 22 | fieldName = field.getName(); 23 | if (field.getModifiers() == Modifier.PUBLIC) { 24 | try { 25 | fieldValue = field.get(entity); 26 | } catch (Exception e) { 27 | e.printStackTrace(); 28 | } 29 | } else { 30 | fieldValue = invokeGet(entity, fieldName); 31 | } 32 | fieldMap.put(fieldName, fieldValue == null ? "" : fieldValue.toString()); 33 | } 34 | return fieldMap; 35 | } 36 | 37 | private static Object invokeGet(Object entity, String fieldName) { 38 | try { 39 | Method method = entity.getClass().getMethod( 40 | "get" + fieldName.replaceFirst(fieldName.substring(0, 1), fieldName.substring(0, 1).toUpperCase())); 41 | return method.invoke(entity); 42 | } catch (Exception e) { 43 | e.printStackTrace(); 44 | } 45 | return null; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | 3 | logging.config=classpath:logback.xml 4 | logging.level.org.springframework=INFO 5 | logging.level.org.springframework.web.servlet.DispatcherServlet=INFO 6 | 7 | # server port 8 | server.port=8081 9 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | %d{yyyy-MM-dd HH:mm:ss} [%level] - %m%n 14 | 15 | 16 | 20 | 21 | 22 | 24 | 25 | ${FILE_LOG_PATTERN} 26 | 27 | ${LOG_FILE} 28 | 29 | ${LOG_FILE}.%i 30 | 1 31 | 2000 32 | 33 | 35 | 10MB 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/resources/templates/query.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 查询电子发票 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
商户编码 商户名称
商户订单号 通讯key
17 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /einvoice-demo/src/main/resources/templates/result.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 提交结果 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /einvoice-management/src/main/conf/dev/config/application.properties: -------------------------------------------------------------------------------- 1 | #------------ Task ------------ 2 | task.core_pool_size=1 3 | task.max_pool_size=4 4 | task.queue_capacity=10 5 | task.keep_alive_seconds=60 6 | 7 | #----- web hook password ------ 8 | git.hook.pwd= 9 | git.hook.script_path= 10 | 11 | #--------- database ----------- 12 | db.master.url=jdbc:mysql://localhost:3306/einvoice?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&useSSL=false 13 | db.master.user=root 14 | db.master.password=mysql -------------------------------------------------------------------------------- /einvoice-management/src/main/conf/dev/log4j2-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /einvoice-management/src/main/conf/production/config/.gitignore: -------------------------------------------------------------------------------- 1 | application.properties 2 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/result/Result.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.result; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * @description:操作结果集 7 | * @author:zhixuan.wang 8 | * @date:2015/10/1 14:51 9 | */ 10 | public class Result implements Serializable { 11 | 12 | public static final int SUCCESS = 1; 13 | public static final int FAILURE = -1; 14 | 15 | private static final long serialVersionUID = 5576237395711742681L; 16 | 17 | private boolean success = false; 18 | 19 | private String msg = ""; 20 | 21 | private Object obj = null; 22 | 23 | public boolean isSuccess() { 24 | return success; 25 | } 26 | 27 | public void setSuccess(boolean success) { 28 | this.success = success; 29 | } 30 | 31 | public String getMsg() { 32 | return msg; 33 | } 34 | 35 | public void setMsg(String msg) { 36 | this.msg = msg; 37 | } 38 | 39 | public Object getObj() { 40 | return obj; 41 | } 42 | 43 | public void setObj(Object obj) { 44 | this.obj = obj; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/scan/JacksonObjectMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.scan; 2 | 3 | import java.text.SimpleDateFormat; 4 | import java.util.Locale; 5 | import java.util.TimeZone; 6 | 7 | import org.springframework.stereotype.Component; 8 | 9 | import com.fasterxml.jackson.databind.ObjectMapper; 10 | 11 | /** 12 | * 解决Jackson 差8小时的问题 13 | * @author L.cm 14 | */ 15 | @Component("jacksonObjectMapper") 16 | public class JacksonObjectMapper extends ObjectMapper { 17 | 18 | private static final long serialVersionUID = 4288193147502386170L; 19 | 20 | private static final Locale CHINA = Locale.CHINA; 21 | 22 | public JacksonObjectMapper() { 23 | this.setLocale(CHINA); 24 | this.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", CHINA)); 25 | this.setTimeZone(TimeZone.getTimeZone("GMT+8")); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/scan/SpringUtils.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.scan; 2 | 3 | import org.springframework.beans.BeansException; 4 | import org.springframework.context.ApplicationContext; 5 | import org.springframework.context.ApplicationContextAware; 6 | import org.springframework.context.ApplicationEvent; 7 | import org.springframework.stereotype.Component; 8 | 9 | /** 10 | * Created by L.cm 11 | * Date: 2015-12-14 15:17 12 | */ 13 | @Component 14 | public class SpringUtils implements ApplicationContextAware { 15 | 16 | private static ApplicationContext context; 17 | 18 | private SpringUtils() {} 19 | 20 | @Override 21 | public void setApplicationContext(ApplicationContext context) throws BeansException { 22 | SpringUtils.context = context; 23 | } 24 | 25 | public static T getBean(Class clazz){ 26 | if (clazz == null) return null; 27 | return context.getBean(clazz); 28 | } 29 | 30 | public static T getBean(String beanName, Class clazz) { 31 | if (null == beanName || "".equals(beanName.trim())) { 32 | return null; 33 | } 34 | if (clazz == null) return null; 35 | return (T) context.getBean(beanName, clazz); 36 | } 37 | 38 | public static ApplicationContext getContext(){ 39 | if (context == null) return null; 40 | return context; 41 | } 42 | 43 | public static void publishEvent(ApplicationEvent event) { 44 | if (context == null) return; 45 | context.publishEvent(event); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/shiro/ShiroUser.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.management.commons.shiro; 5 | 6 | import java.io.Serializable; 7 | import java.util.List; 8 | 9 | /** 10 | * @description:自定义Authentication对象,使得Subject除了携带用户的登录名外还可以携带更多信息 11 | * @author:zhixuan.wang 12 | * @date:2015/10/1 14:51 13 | */ 14 | public class ShiroUser implements Serializable { 15 | 16 | private static final long serialVersionUID = -1373760761780840081L; 17 | public Long id; 18 | public String loginName; 19 | public String name; 20 | public List roleList; 21 | 22 | public ShiroUser(Long id, String loginName, String name, List roleList) { 23 | this.id = id; 24 | this.loginName = loginName; 25 | this.name = name; 26 | this.roleList = roleList; 27 | } 28 | 29 | public String getName() { 30 | return name; 31 | } 32 | 33 | /** 34 | * 本函数输出将作为默认的输出. 35 | */ 36 | @Override 37 | public String toString() { 38 | return loginName; 39 | } 40 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/utils/Charsets.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.utils; 2 | 3 | 4 | import java.nio.charset.Charset; 5 | 6 | /** 7 | * 字符集工具类 8 | * Author: L.cm 9 | * Date: 2016年3月29日 下午3:44:52 10 | */ 11 | public class Charsets { 12 | 13 | // 字符集ISO-8859-1 14 | public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); 15 | // 字符集GBK 16 | public static final Charset GBK = Charset.forName("GBK"); 17 | // 字符集utf-8 18 | public static final Charset UTF_8 = Charset.forName("UTF-8"); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/utils/DigestUtils.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.utils; 2 | 3 | /** 4 | * 加密相关工具类直接使用Spring util封装,减少jar依赖 5 | * @author L.cm 6 | */ 7 | public class DigestUtils extends org.springframework.util.DigestUtils { 8 | 9 | /** 10 | * Calculates the MD5 digest and returns the value as a 32 character hex string. 11 | * 12 | * @param data Data to digest 13 | * @return MD5 digest as a hex string 14 | */ 15 | public static String md5Hex(final String data) { 16 | return DigestUtils.md5DigestAsHex(data.getBytes(Charsets.UTF_8)); 17 | } 18 | 19 | /** 20 | * Return a hexadecimal string representation of the MD5 digest of the given bytes. 21 | * @param bytes the bytes to calculate the digest over 22 | * @return a hexadecimal digest string 23 | */ 24 | public static String md5Hex(final byte[] bytes) { 25 | return DigestUtils.md5DigestAsHex(bytes); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/utils/IOUtils.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.utils; 2 | 3 | import java.io.Closeable; 4 | import java.io.IOException; 5 | 6 | /** 7 | * 流工具类,继承自Spring 8 | * @author L.cm 9 | */ 10 | public class IOUtils extends org.springframework.util.StreamUtils { 11 | 12 | /** 13 | * closeQuietly 14 | * @param closeable 自动关闭 15 | */ 16 | public static void closeQuietly(Closeable closeable) { 17 | try { 18 | if (closeable != null) { 19 | closeable.close(); 20 | } 21 | } catch (IOException ioe) { 22 | // ignore 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/utils/JsonUtils.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.utils; 2 | 3 | import com.fasterxml.jackson.core.JsonProcessingException; 4 | import com.fasterxml.jackson.databind.ObjectMapper; 5 | import com.management.commons.scan.JacksonObjectMapper; 6 | 7 | import java.io.IOException; 8 | 9 | /** 10 | * Created by L.cm 11 | * Date: 2015-25-12 17:57 12 | */ 13 | public final class JsonUtils { 14 | private JsonUtils() {} 15 | 16 | /** 17 | * 将对象序列化成json字符串 18 | * @param object javaBean 19 | * @return jsonString json字符串 20 | */ 21 | public static String toJson(Object object) { 22 | try { 23 | return getInstance().writeValueAsString(object); 24 | } catch (JsonProcessingException e) { 25 | throw new RuntimeException(e); 26 | } 27 | } 28 | 29 | /** 30 | * 将json反序列化成对象 31 | * @param jsonString jsonString 32 | * @param valueType class 33 | * @param T 泛型标记 34 | * @return Bean 35 | */ 36 | public static T parse(String jsonString, Class valueType) { 37 | try { 38 | return getInstance().readValue(jsonString, valueType); 39 | } catch (IOException e) { 40 | throw new RuntimeException(e); 41 | } 42 | } 43 | 44 | private static ObjectMapper getInstance() { 45 | return JacksonHolder.INSTANCE; 46 | } 47 | 48 | private static class JacksonHolder { 49 | private static ObjectMapper INSTANCE = new JacksonObjectMapper(); 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/utils/RuntimeUtils.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.utils; 2 | 3 | import org.apache.logging.log4j.LogManager; 4 | import org.apache.logging.log4j.Logger; 5 | 6 | /** 7 | * 工具类 8 | * @author L.cm 9 | */ 10 | public class RuntimeUtils { 11 | private static final Logger logger = LogManager.getLogger(RuntimeUtils.class); 12 | 13 | /** 14 | * 运行shell 15 | * @param script 16 | */ 17 | public static void runShell(String script) { 18 | Process process = null; 19 | try { 20 | String[] cmd = { "sh", script }; 21 | //执行liunx命令 22 | process = Runtime.getRuntime().exec(cmd); 23 | process.waitFor(); 24 | } catch (Exception e) { 25 | logger.error(e.getMessage(), e); 26 | } finally { 27 | if (null != process) { 28 | process.destroy(); 29 | } 30 | } 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/commons/utils/StringEscapeEditor.java: -------------------------------------------------------------------------------- 1 | package com.management.commons.utils; 2 | 3 | import org.springframework.web.util.HtmlUtils; 4 | import org.springframework.web.util.JavaScriptUtils; 5 | 6 | import java.beans.PropertyEditorSupport; 7 | 8 | public class StringEscapeEditor extends PropertyEditorSupport { 9 | 10 | private boolean escapeHTML;// 编码HTML 11 | private boolean escapeJavaScript;// 编码javascript 12 | 13 | public StringEscapeEditor() { 14 | } 15 | 16 | public StringEscapeEditor(boolean escapeHTML, boolean escapeJavaScript) { 17 | this.escapeHTML = escapeHTML; 18 | this.escapeJavaScript = escapeJavaScript; 19 | } 20 | 21 | @Override 22 | public String getAsText() { 23 | Object value = getValue(); 24 | return value != null ? value.toString() : ""; 25 | } 26 | 27 | @Override 28 | public void setAsText(String text) throws IllegalArgumentException { 29 | if (text == null) { 30 | setValue(null); 31 | } else { 32 | String value = text; 33 | if (escapeHTML) { 34 | value = HtmlUtils.htmlEscape(value); 35 | } 36 | if (escapeJavaScript) { 37 | value = JavaScriptUtils.javaScriptEscape(value); 38 | } 39 | setValue(value); 40 | } 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/controller/SysLogController.java: -------------------------------------------------------------------------------- 1 | package com.management.controller; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | 6 | import com.management.commons.utils.PageInfo; 7 | import com.management.service.ISysLogService; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Controller; 10 | import org.springframework.web.bind.annotation.RequestMapping; 11 | import org.springframework.web.bind.annotation.RequestMethod; 12 | import org.springframework.web.bind.annotation.ResponseBody; 13 | 14 | 15 | /** 16 | * @description:日志管理 17 | * @author:zhixuan.wang 18 | * @date:2015/10/30 18:06 19 | */ 20 | @Controller 21 | @RequestMapping("/sysLog") 22 | public class SysLogController { 23 | 24 | @Autowired 25 | private ISysLogService sysLogService; 26 | 27 | 28 | @RequestMapping(value = "/manager", method = RequestMethod.GET) 29 | public String manager() { 30 | return "admin/syslog"; 31 | } 32 | 33 | 34 | @RequestMapping(value = "/dataGrid", method = RequestMethod.POST) 35 | @ResponseBody 36 | public PageInfo dataGrid(Integer page, Integer rows) { 37 | PageInfo pageInfo = new PageInfo(page, rows); 38 | Map condition = new HashMap(); 39 | pageInfo.setCondition(condition); 40 | sysLogService.selectDataGrid(pageInfo); 41 | return pageInfo; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/controller/TestController.java: -------------------------------------------------------------------------------- 1 | package com.management.controller; 2 | 3 | import com.management.commons.base.BaseController; 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | import org.springframework.web.bind.annotation.RequestMethod; 7 | 8 | 9 | /** 10 | * @description:测试Controller 11 | * @author:zhixuan.wang 12 | * @date:2015/10/1 14:51 13 | */ 14 | @Controller 15 | @RequestMapping("/test") 16 | public class TestController extends BaseController { 17 | 18 | /** 19 | * 图标测试 20 | * @return 21 | */ 22 | @RequestMapping(value = "/dataGrid", method = RequestMethod.GET) 23 | public String dataGrid() { 24 | return "admin/test"; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/event/WebHooksEvent.java: -------------------------------------------------------------------------------- 1 | package com.management.event; 2 | import org.springframework.context.ApplicationEvent; 3 | 4 | /** 5 | * WebHooks事件 6 | * @author L.cm 7 | */ 8 | public class WebHooksEvent extends ApplicationEvent { 9 | 10 | private static final long serialVersionUID = 3443109525461436619L; 11 | 12 | public WebHooksEvent(Object source) { 13 | super(source); 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/event/WebHooksListener.java: -------------------------------------------------------------------------------- 1 | package com.management.event; 2 | 3 | import java.util.Map; 4 | 5 | import com.management.commons.utils.RuntimeUtils; 6 | import org.springframework.beans.factory.annotation.Value; 7 | import org.springframework.context.ApplicationListener; 8 | import org.springframework.scheduling.annotation.Async; 9 | import org.springframework.scheduling.annotation.EnableAsync; 10 | import org.springframework.stereotype.Component; 11 | 12 | 13 | /** 14 | * WebHook 异步消息 15 | * @author L.cm 16 | */ 17 | @Component 18 | @EnableAsync 19 | @SuppressWarnings("unchecked") 20 | public class WebHooksListener implements ApplicationListener { 21 | 22 | @Value("${git.hook.pwd}") 23 | private String hookPwd; 24 | @Value("${git.hook.script_path}") 25 | private String scriptPath; 26 | /** 27 | * 新线程需要同时 @EnableAsync + @Async 28 | */ 29 | @Async 30 | @Override 31 | public void onApplicationEvent(WebHooksEvent event) { 32 | Map hookMap = (Map) event.getSource(); 33 | Object password = hookMap.get("password"); 34 | // 密码不一致 35 | if (null == password || !password.equals(hookPwd)) { 36 | return; 37 | } 38 | Object hookName = hookMap.get("hook_name"); 39 | if (null == hookName || !hookName.equals("push_hooks")) { 40 | return; 41 | } 42 | // 执行自动部署脚本 43 | RuntimeUtils.runShell(scriptPath); 44 | } 45 | 46 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/EinvoiceBodyMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | import com.baomidou.mybatisplus.mapper.AutoMapper; 4 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 5 | import com.management.model.EinvoiceBody; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | import java.util.Map; 10 | 11 | /** 12 | * Created by sdyang on 2016/10/23. 13 | */ 14 | public interface EinvoiceBodyMapper extends AutoMapper { 15 | 16 | List selectListByHeadId(Pagination page, Map params); 17 | } 18 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/EinvoiceHeadMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | import com.baomidou.mybatisplus.mapper.AutoMapper; 4 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 5 | import com.management.model.EinvoiceHead; 6 | import com.management.model.Role; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | import java.util.Map; 11 | 12 | /** 13 | * Created by sdyang on 2016/10/23. 14 | */ 15 | public interface EinvoiceHeadMapper extends AutoMapper { 16 | 17 | List selectHeadList(Pagination page, Map params); 18 | } 19 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/OrganizationMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | 4 | import java.util.List; 5 | 6 | import com.management.model.Organization; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import com.baomidou.mybatisplus.mapper.AutoMapper; 10 | 11 | /** 12 | * 13 | * Organization 表数据库控制层接口 14 | * 15 | */ 16 | public interface OrganizationMapper extends AutoMapper { 17 | 18 | List selectByPIdNull(); 19 | 20 | List selectAllByPId(@Param("pId") Long pid); 21 | 22 | List selectAll(); 23 | 24 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/ResourceMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | import java.util.List; 4 | 5 | import com.management.model.Resource; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import com.baomidou.mybatisplus.mapper.AutoMapper; 9 | 10 | /** 11 | * 12 | * Resource 表数据库控制层接口 13 | * 14 | */ 15 | public interface ResourceMapper extends AutoMapper { 16 | 17 | List selectAllByTypeAndPIdNull(@Param("resourceType") Integer resourceType); 18 | 19 | List selectAllByTypeAndPId(@Param("resourceType") Integer resourceType, @Param("pId") Long pId); 20 | 21 | List selectAll(); 22 | 23 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/RoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.management.model.Resource; 7 | import com.management.model.Role; 8 | import org.apache.ibatis.annotations.Param; 9 | 10 | import com.baomidou.mybatisplus.mapper.AutoMapper; 11 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 12 | 13 | /** 14 | * 15 | * Role 表数据库控制层接口 16 | * 17 | */ 18 | public interface RoleMapper extends AutoMapper { 19 | 20 | List selectAll(); 21 | 22 | List selectResourceIdListByRoleId(@Param("id") Long id); 23 | 24 | List selectResourceIdListByRoleIdAndType(@Param("id") Long id); 25 | 26 | List> selectResourceListByRoleId(@Param("id") Long id); 27 | 28 | List selectRoleList(Pagination page, @Param("sort") String sort, @Param("order") String order); 29 | 30 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/RoleResourceMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | 4 | import com.management.model.RoleResource; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import com.baomidou.mybatisplus.mapper.AutoMapper; 8 | 9 | /** 10 | * 11 | * RoleResource 表数据库控制层接口 12 | * 13 | */ 14 | public interface RoleResourceMapper extends AutoMapper { 15 | 16 | Long selectIdListByRoleId(@Param("id") Long id); 17 | 18 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/SysLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | import java.util.List; 4 | 5 | import com.baomidou.mybatisplus.mapper.AutoMapper; 6 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 7 | import com.management.model.Role; 8 | import com.management.model.SysLog; 9 | 10 | /** 11 | * 12 | * SysLog 表数据库控制层接口 13 | * 14 | */ 15 | public interface SysLogMapper extends AutoMapper { 16 | 17 | List selectSysLogList(Pagination page); 18 | 19 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.management.model.User; 7 | import com.management.model.vo.UserVo; 8 | import org.apache.ibatis.annotations.Param; 9 | 10 | import com.baomidou.mybatisplus.mapper.AutoMapper; 11 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 12 | 13 | /** 14 | * 15 | * User 表数据库控制层接口 16 | * 17 | */ 18 | public interface UserMapper extends AutoMapper { 19 | 20 | UserVo selectUserVoById(@Param("id") Long id); 21 | 22 | List selectUserVoPage(Pagination page, Map params); 23 | 24 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/mapper/UserRoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.management.mapper; 2 | 3 | 4 | import java.util.List; 5 | 6 | import com.management.model.UserRole; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import com.baomidou.mybatisplus.mapper.AutoMapper; 10 | 11 | /** 12 | * 13 | * UserRole 表数据库控制层接口 14 | * 15 | */ 16 | public interface UserRoleMapper extends AutoMapper { 17 | 18 | List selectByUserId(@Param("userId") Long userId); 19 | 20 | List selectRoleIdListByUserId(@Param("userId") Long userId); 21 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/model/Role.java: -------------------------------------------------------------------------------- 1 | package com.management.model; 2 | 3 | import java.io.Serializable; 4 | 5 | import com.baomidou.mybatisplus.annotations.IdType; 6 | 7 | import com.baomidou.mybatisplus.annotations.TableField; 8 | import com.baomidou.mybatisplus.annotations.TableId; 9 | 10 | /** 11 | * 12 | * 角色 13 | * 14 | */ 15 | public class Role implements Serializable { 16 | 17 | @TableField(exist = false) 18 | private static final long serialVersionUID = 1L; 19 | 20 | /** 主键id */ 21 | @TableId(type = IdType.AUTO) 22 | private Long id; 23 | 24 | /** 角色名 */ 25 | private String name; 26 | 27 | /** 排序号 */ 28 | private Integer seq; 29 | 30 | /** 简介 */ 31 | private String description; 32 | 33 | /** 状态 */ 34 | private Integer status; 35 | 36 | 37 | public Long getId() { 38 | return this.id; 39 | } 40 | 41 | public void setId(Long id) { 42 | this.id = id; 43 | } 44 | 45 | public String getName() { 46 | return this.name; 47 | } 48 | 49 | public void setName(String name) { 50 | this.name = name; 51 | } 52 | 53 | public Integer getSeq() { 54 | return this.seq; 55 | } 56 | 57 | public void setSeq(Integer seq) { 58 | this.seq = seq; 59 | } 60 | 61 | public String getDescription() { 62 | return this.description; 63 | } 64 | 65 | public void setDescription(String description) { 66 | this.description = description; 67 | } 68 | 69 | public Integer getStatus() { 70 | return this.status; 71 | } 72 | 73 | public void setStatus(Integer status) { 74 | this.status = status; 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/model/RoleResource.java: -------------------------------------------------------------------------------- 1 | package com.management.model; 2 | 3 | import java.io.Serializable; 4 | 5 | import com.baomidou.mybatisplus.annotations.IdType; 6 | 7 | import com.baomidou.mybatisplus.annotations.TableField; 8 | import com.baomidou.mybatisplus.annotations.TableId; 9 | import com.baomidou.mybatisplus.annotations.TableName; 10 | 11 | /** 12 | * 13 | * 角色资源 14 | * 15 | */ 16 | @TableName("role_resource") 17 | public class RoleResource implements Serializable { 18 | 19 | @TableField(exist = false) 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 主键id */ 23 | @TableId(type = IdType.AUTO) 24 | private Long id; 25 | 26 | /** 角色id */ 27 | @TableField(value = "role_id") 28 | private Long roleId; 29 | 30 | /** 资源id */ 31 | @TableField(value = "resource_id") 32 | private Long resourceId; 33 | 34 | 35 | public Long getId() { 36 | return this.id; 37 | } 38 | 39 | public void setId(Long id) { 40 | this.id = id; 41 | } 42 | 43 | public Long getRoleId() { 44 | return this.roleId; 45 | } 46 | 47 | public void setRoleId(Long roleId) { 48 | this.roleId = roleId; 49 | } 50 | 51 | public Long getResourceId() { 52 | return this.resourceId; 53 | } 54 | 55 | public void setResourceId(Long resourceId) { 56 | this.resourceId = resourceId; 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/model/UserRole.java: -------------------------------------------------------------------------------- 1 | package com.management.model; 2 | 3 | import java.io.Serializable; 4 | 5 | import com.baomidou.mybatisplus.annotations.IdType; 6 | 7 | import com.baomidou.mybatisplus.annotations.TableField; 8 | import com.baomidou.mybatisplus.annotations.TableId; 9 | import com.baomidou.mybatisplus.annotations.TableName; 10 | 11 | /** 12 | * 13 | * 用户角色 14 | * 15 | */ 16 | @TableName("user_role") 17 | public class UserRole implements Serializable { 18 | 19 | @TableField(exist = false) 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 主键id */ 23 | @TableId(type = IdType.AUTO) 24 | private Long id; 25 | 26 | /** 用户id */ 27 | @TableField(value = "user_id") 28 | private Long userId; 29 | 30 | /** 角色id */ 31 | @TableField(value = "role_id") 32 | private Long roleId; 33 | 34 | 35 | public Long getId() { 36 | return this.id; 37 | } 38 | 39 | public void setId(Long id) { 40 | this.id = id; 41 | } 42 | 43 | public Long getUserId() { 44 | return this.userId; 45 | } 46 | 47 | public void setUserId(Long userId) { 48 | this.userId = userId; 49 | } 50 | 51 | public Long getRoleId() { 52 | return this.roleId; 53 | } 54 | 55 | public void setRoleId(Long roleId) { 56 | this.roleId = roleId; 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/model/vo/EinvoiceParmVo.java: -------------------------------------------------------------------------------- 1 | package com.management.model.vo; 2 | 3 | import java.util.Date; 4 | 5 | /** 6 | * Created by sdyang on 2016/10/24. 7 | */ 8 | public class EinvoiceParmVo { 9 | 10 | private String fpqqlsh; 11 | 12 | private String status; 13 | 14 | private String xsf_mc; 15 | 16 | private String order_no; 17 | 18 | private Date submit_begin; 19 | 20 | private Date submit_end; 21 | 22 | public String getXsf_mc() { 23 | return xsf_mc; 24 | } 25 | 26 | public void setXsf_mc(String xsf_mc) { 27 | this.xsf_mc = xsf_mc; 28 | } 29 | 30 | public String getOrder_no() { 31 | return order_no; 32 | } 33 | 34 | public void setOrder_no(String order_no) { 35 | this.order_no = order_no; 36 | } 37 | 38 | public String getFpqqlsh() { 39 | return fpqqlsh; 40 | } 41 | 42 | public void setFpqqlsh(String fpqqlsh) { 43 | this.fpqqlsh = fpqqlsh; 44 | } 45 | 46 | public String getStatus() { 47 | return status; 48 | } 49 | 50 | public void setStatus(String status) { 51 | this.status = status; 52 | } 53 | 54 | public Date getSubmit_begin() { 55 | return submit_begin; 56 | } 57 | 58 | public void setSubmit_begin(Date submit_begin) { 59 | this.submit_begin = submit_begin; 60 | } 61 | 62 | public Date getSubmit_end() { 63 | return submit_end; 64 | } 65 | 66 | public void setSubmit_end(Date submit_end) { 67 | this.submit_end = submit_end; 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IEinvoiceBodyService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import com.baomidou.framework.service.ISuperService; 4 | import com.management.commons.utils.PageInfo; 5 | import com.management.model.EinvoiceBody; 6 | 7 | /** 8 | * Created by sdyang on 2016/10/23. 9 | */ 10 | public interface IEinvoiceBodyService extends ISuperService { 11 | 12 | void selectDataGrid(PageInfo pageInfo); 13 | } 14 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IEinvoiceHeadService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import com.baomidou.framework.service.ISuperService; 4 | import com.management.commons.utils.PageInfo; 5 | import com.management.model.EinvoiceHead; 6 | 7 | /** 8 | * Created by sdyang on 2016/10/23. 9 | */ 10 | public interface IEinvoiceHeadService extends ISuperService { 11 | 12 | void selectDataGrid(PageInfo pageInfo); 13 | } 14 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IOrganizationService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import java.util.List; 4 | 5 | import com.baomidou.framework.service.ISuperService; 6 | import com.management.commons.result.Tree; 7 | import com.management.model.Organization; 8 | 9 | /** 10 | * 11 | * Organization 表数据服务层接口 12 | * 13 | */ 14 | public interface IOrganizationService extends ISuperService { 15 | 16 | List selectTree(); 17 | 18 | List selectTreeGrid(); 19 | 20 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IResourceService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import java.util.List; 4 | 5 | import com.baomidou.framework.service.ISuperService; 6 | import com.management.commons.result.Tree; 7 | import com.management.model.Resource; 8 | import com.management.model.User; 9 | 10 | /** 11 | * 12 | * Resource 表数据服务层接口 13 | * 14 | */ 15 | public interface IResourceService extends ISuperService { 16 | 17 | List selectAll(); 18 | 19 | List selectAllTree(); 20 | 21 | List selectAllTrees(); 22 | 23 | List selectTree(User currentUser); 24 | 25 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IRoleResourceService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import com.baomidou.framework.service.ISuperService; 4 | import com.management.model.RoleResource; 5 | 6 | /** 7 | * 8 | * RoleResource 表数据服务层接口 9 | * 10 | */ 11 | public interface IRoleResourceService extends ISuperService { 12 | 13 | 14 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IRoleService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | import com.baomidou.framework.service.ISuperService; 8 | import com.management.commons.utils.PageInfo; 9 | import com.management.model.Role; 10 | 11 | /** 12 | * 13 | * Role 表数据服务层接口 14 | * 15 | */ 16 | public interface IRoleService extends ISuperService { 17 | 18 | List selectRoleIdListByUserId(Long userId); 19 | 20 | List> selectRoleResourceListByRoleId(Long roleId); 21 | 22 | void selectDataGrid(PageInfo pageInfo); 23 | 24 | Object selectTree(); 25 | 26 | List selectResourceIdListByRoleId(Long id); 27 | 28 | void updateRoleResource(Long id, String resourceIds); 29 | 30 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/ISysLogService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import com.baomidou.framework.service.ISuperService; 4 | import com.management.commons.utils.PageInfo; 5 | import com.management.model.SysLog; 6 | 7 | /** 8 | * 9 | * SysLog 表数据服务层接口 10 | * 11 | */ 12 | public interface ISysLogService extends ISuperService { 13 | 14 | void selectDataGrid(PageInfo pageInfo); 15 | 16 | 17 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IUserRoleService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import com.baomidou.framework.service.ISuperService; 4 | import com.management.model.UserRole; 5 | 6 | /** 7 | * 8 | * UserRole 表数据服务层接口 9 | * 10 | */ 11 | public interface IUserRoleService extends ISuperService { 12 | 13 | 14 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/IUserService.java: -------------------------------------------------------------------------------- 1 | package com.management.service; 2 | 3 | import com.baomidou.framework.service.ISuperService; 4 | import com.management.commons.utils.PageInfo; 5 | import com.management.model.User; 6 | import com.management.model.vo.UserVo; 7 | 8 | /** 9 | * 10 | * User 表数据服务层接口 11 | * 12 | */ 13 | public interface IUserService extends ISuperService { 14 | 15 | User selectByLoginName(String loginName); 16 | 17 | void insertByVo(UserVo userVo); 18 | 19 | UserVo selectVoById(Long id); 20 | 21 | void updateByVo(UserVo userVo); 22 | 23 | void updatePwdByUserId(Long userId, String md5Hex); 24 | 25 | void selectDataGrid(PageInfo pageInfo); 26 | 27 | void deleteUserById(Long id); 28 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/impl/EinvoiceBodyServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.management.service.impl; 2 | 3 | import com.baomidou.framework.service.impl.SuperServiceImpl; 4 | import com.baomidou.mybatisplus.plugins.Page; 5 | import com.management.commons.utils.PageInfo; 6 | import com.management.mapper.EinvoiceBodyMapper; 7 | import com.management.model.EinvoiceBody; 8 | import com.management.model.EinvoiceHead; 9 | import com.management.service.IEinvoiceBodyService; 10 | import org.springframework.beans.factory.annotation.Autowired; 11 | import org.springframework.stereotype.Service; 12 | 13 | import java.util.List; 14 | 15 | /** 16 | * Created by sdyang on 2016/10/23. 17 | */ 18 | @Service 19 | public class EinvoiceBodyServiceImpl extends SuperServiceImpl implements IEinvoiceBodyService{ 20 | 21 | @Autowired 22 | private EinvoiceBodyMapper einvoiceBodyMapper; 23 | @Override 24 | public void selectDataGrid(PageInfo pageInfo) { 25 | Page page = new Page(pageInfo.getNowpage(), pageInfo.getSize()); 26 | List list = einvoiceBodyMapper.selectListByHeadId(page, pageInfo.getCondition()); 27 | pageInfo.setRows(list); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/impl/EinvoiceHeadServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.management.service.impl; 2 | 3 | import com.baomidou.framework.service.impl.SuperServiceImpl; 4 | import com.baomidou.mybatisplus.plugins.Page; 5 | import com.management.commons.utils.PageInfo; 6 | import com.management.mapper.EinvoiceHeadMapper; 7 | import com.management.model.EinvoiceHead; 8 | import com.management.service.IEinvoiceHeadService; 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Service; 11 | 12 | import java.util.List; 13 | 14 | /** 15 | * Created by sdyang on 2016/10/23. 16 | */ 17 | @Service 18 | public class EinvoiceHeadServiceImpl extends SuperServiceImpl implements IEinvoiceHeadService { 19 | 20 | @Autowired 21 | private EinvoiceHeadMapper einvoiceHeadMapper; 22 | 23 | @Override 24 | public void selectDataGrid(PageInfo pageInfo) { 25 | Page page = new Page(pageInfo.getNowpage(), pageInfo.getSize()); 26 | List list = einvoiceHeadMapper.selectHeadList(page, pageInfo.getCondition()); 27 | pageInfo.setRows(list); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/impl/RoleResourceServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.management.service.impl; 2 | 3 | import com.management.mapper.RoleResourceMapper; 4 | import com.management.model.Resource; 5 | import com.management.model.RoleResource; 6 | import com.management.service.IRoleResourceService; 7 | import org.springframework.stereotype.Service; 8 | 9 | import com.baomidou.framework.service.impl.SuperServiceImpl; 10 | 11 | import java.util.Date; 12 | 13 | /** 14 | * 15 | * RoleResource 表数据服务层接口实现类 16 | * 17 | */ 18 | @Service 19 | public class RoleResourceServiceImpl extends SuperServiceImpl implements IRoleResourceService { 20 | 21 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/impl/SysLogServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.management.service.impl; 2 | 3 | import java.util.List; 4 | 5 | import com.management.commons.utils.PageInfo; 6 | import com.management.mapper.SysLogMapper; 7 | import com.management.model.Role; 8 | import com.management.model.SysLog; 9 | import com.management.service.ISysLogService; 10 | import org.springframework.beans.factory.annotation.Autowired; 11 | import org.springframework.stereotype.Service; 12 | 13 | import com.baomidou.framework.service.impl.SuperServiceImpl; 14 | import com.baomidou.mybatisplus.plugins.Page; 15 | 16 | /** 17 | * 18 | * SysLog 表数据服务层接口实现类 19 | * 20 | */ 21 | @Service 22 | public class SysLogServiceImpl extends SuperServiceImpl implements ISysLogService { 23 | 24 | @Autowired 25 | private SysLogMapper sysLogMapper; 26 | 27 | @Override 28 | public void selectDataGrid(PageInfo pageInfo) { 29 | Page page = new Page(pageInfo.getNowpage(), pageInfo.getSize()); 30 | List list = sysLogMapper.selectSysLogList(page); 31 | pageInfo.setRows(list); 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/service/impl/UserRoleServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.management.service.impl; 2 | 3 | import com.management.mapper.UserRoleMapper; 4 | import com.management.model.UserRole; 5 | import com.management.service.IUserRoleService; 6 | import org.springframework.stereotype.Service; 7 | 8 | import com.baomidou.framework.service.impl.SuperServiceImpl; 9 | 10 | /** 11 | * 12 | * UserRole 表数据服务层接口实现类 13 | * 14 | */ 15 | @Service 16 | public class UserRoleServiceImpl extends SuperServiceImpl implements IUserRoleService { 17 | 18 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/java/com/management/util/RandomKey.java: -------------------------------------------------------------------------------- 1 | package com.management.util; 2 | 3 | import java.util.Random; 4 | 5 | /** 6 | * 获取随机KEY 7 | * 8 | * @author sdyang 9 | * @date 2015年12月31日 上午11:02:17 10 | */ 11 | public class RandomKey { 12 | 13 | private static int LENGTH = 8; 14 | 15 | private static String BASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; 16 | 17 | public static String getRandomKey() { 18 | Random random = new Random(); 19 | StringBuffer sb = new StringBuffer(); 20 | for (int i = 0; i < LENGTH; i++) { 21 | sb.append(BASE.charAt(random.nextInt(BASE.length()))); 22 | } 23 | return sb.toString(); 24 | } 25 | 26 | public static String getRandomKey(int length) { 27 | Random random = new Random(); 28 | StringBuffer sb = new StringBuffer(); 29 | for (int i = 0; i < length; i++) { 30 | sb.append(BASE.charAt(random.nextInt(BASE.length()))); 31 | } 32 | return sb.toString(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/ehcache-shiro.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/spring-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | classpath:config/*.properties 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/spring/spring-task.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/sqlMapperXml/EinvoiceBodyMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/sqlMapperXml/EinvoiceHeadMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 35 | 36 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/sqlMapperXml/OrganizationMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | id, name, address, code, icon, pid, seq, create_time AS createTime 8 | 9 | 10 | 15 | 16 | 21 | 22 | 27 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/sqlMapperXml/ResourceMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | id, name, url, description, icon, pid, seq, status, resource_type AS resourceType, create_time AS createTime 8 | 9 | 10 | 11 | 18 | 19 | 26 | 27 | 32 | 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/sqlMapperXml/RoleResourceMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | id, role_id AS roleId, resource_id AS resourceId 8 | 9 | 10 | 19 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/sqlMapperXml/SysLogMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | id, login_name AS loginName, role_name AS roleName, opt_content AS optContent, client_ip AS clientIp, create_time AS createTime 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /einvoice-management/src/main/resources/sqlMapperXml/UserRoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | id, user_id AS userId, role_id AS roleId 8 | 9 | 10 | 16 | 17 | 23 | 24 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/WEB-INF/views/error/404.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 3 |
错误代码:404
4 |
错误描述:资源未找到
-------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/WEB-INF/views/error/500.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 3 |
错误代码:500
4 |
错误描述:系统内部错误
-------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/commons/basejs.jsp: -------------------------------------------------------------------------------- 1 | <%--标签 --%> 2 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/commons/global.jsp: -------------------------------------------------------------------------------- 1 | <%--标签 --%> 2 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> 3 | <%@ page isELIgnored="false" %> 4 | <%@ page trimDirectiveWhitespaces="true" %> 5 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 6 | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 7 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 8 | <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> 9 | 10 | <%--basePath --%> 11 | 12 | <%--静态文件目录 --%> 13 | 14 | <%--项目路径 --%> 15 | 16 | 17 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/lang/en.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "Invalid date or the date out of range,redo or not?", 3 | aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 4 | aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], 5 | aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 6 | aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], 7 | clearStr: "Clear", 8 | todayStr: "Today", 9 | okStr: "OK", 10 | updateStr: "OK", 11 | timeStr: "Time", 12 | quickStr: "Quick Selection", 13 | err_1: 'MinDate Cannot be bigger than MaxDate!' 14 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u786E\u5B9A", 10 | updateStr: "\u786E\u5B9A", 11 | timeStr: "\u65F6\u95F4", 12 | quickStr: "\u5FEB\u901F\u9009\u62E9", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/lang/zh-tw.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u78BA\u5B9A", 10 | updateStr: "\u78BA\u5B9A", 11 | timeStr: "\u6642\u9593", 12 | quickStr: "\u5FEB\u901F\u9078\u64C7", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/skin/WdatePicker.css: -------------------------------------------------------------------------------- 1 | .Wdate{ 2 | border:#999 1px solid; 3 | height:20px; 4 | background:#fff url(datePicker.gif) no-repeat right; 5 | } 6 | 7 | .WdateFmtErr{ 8 | font-weight:bold; 9 | color:red; 10 | } -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/skin/datePicker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/My97DatePicker/skin/datePicker.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/skin/default/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/My97DatePicker/skin/default/img.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/skin/whyGreen/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/My97DatePicker/skin/whyGreen/bg.jpg -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/My97DatePicker/skin/whyGreen/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/My97DatePicker/skin/whyGreen/img.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/plugins/jquery.splitbutton.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery EasyUI 1.4.3 3 | * 4 | * Copyright (c) 2009-2015 www.jeasyui.com. All rights reserved. 5 | * 6 | * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt 7 | * To use it on other terms please contact us at info@jeasyui.com 8 | * 9 | */ 10 | (function($){ 11 | function _1(_2){ 12 | var _3=$.data(_2,"splitbutton").options; 13 | $(_2).menubutton(_3); 14 | $(_2).addClass("s-btn"); 15 | }; 16 | $.fn.splitbutton=function(_4,_5){ 17 | if(typeof _4=="string"){ 18 | var _6=$.fn.splitbutton.methods[_4]; 19 | if(_6){ 20 | return _6(this,_5); 21 | }else{ 22 | return this.menubutton(_4,_5); 23 | } 24 | } 25 | _4=_4||{}; 26 | return this.each(function(){ 27 | var _7=$.data(this,"splitbutton"); 28 | if(_7){ 29 | $.extend(_7.options,_4); 30 | }else{ 31 | $.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_4)}); 32 | $(this).removeAttr("disabled"); 33 | } 34 | _1(this); 35 | }); 36 | }; 37 | $.fn.splitbutton.methods={options:function(jq){ 38 | var _8=jq.menubutton("options"); 39 | var _9=$.data(jq[0],"splitbutton").options; 40 | $.extend(_9,{disabled:_8.disabled,toggle:_8.toggle,selected:_8.selected}); 41 | return _9; 42 | }}; 43 | $.fn.splitbutton.parseOptions=function(_a){ 44 | var t=$(_a); 45 | return $.extend({},$.fn.linkbutton.parseOptions(_a),$.parser.parseOptions(_a,["menu",{plain:"boolean",duration:"number"}])); 46 | }; 47 | $.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active s-btn-active",btn2:"m-btn-plain-active s-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn-line"}}); 48 | })(jQuery); 49 | 50 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #666; 30 | border-color: #000; 31 | } 32 | .accordion .accordion-header { 33 | background: #3d3d3d; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #0052A3; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #fff; 41 | } 42 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #666; 40 | } 41 | .combo { 42 | border-color: #000; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #3d3d3d; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #777; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #777; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #777; 19 | color: #fff; 20 | } 21 | .combobox-item-selected { 22 | background-color: #0052A3; 23 | color: #fff; 24 | } 25 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #555; 33 | } 34 | .datebox-button a { 35 | color: #fff; 36 | } 37 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #444; 11 | border-right: 1px solid #777; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #555; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #000 #000 #222 #000; 29 | } 30 | .dialog-button { 31 | border-color: #222 #000 #000 #000; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | .filebox-label { 8 | display: inline-block; 9 | position: absolute; 10 | width: 100%; 11 | height: 100%; 12 | cursor: pointer; 13 | left: 0; 14 | top: 0; 15 | z-index: 10; 16 | background: url('images/blank.gif') no-repeat; 17 | } 18 | .l-btn-disabled .filebox-label { 19 | cursor: default; 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/accordion_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/blank.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/calendar_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/combo_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/datagrid_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/datebox_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/layout_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/linkbutton_bg.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/loading.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/menu_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/messager_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/pagination_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/panel_tools.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/searchbox_button.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/slider_handle.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/spinner_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/tabs_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/tree_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/black/images/validatebox_warning.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #000; 40 | } 41 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #000; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #444; 15 | border-right: 1px solid #777; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #000; 71 | } 72 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 5px 5px 5px 5px; 5 | -webkit-border-radius: 5px 5px 5px 5px; 6 | border-radius: 5px 5px 5px 5px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 5px 0 0 5px; 19 | -webkit-border-radius: 5px 0 0 5px; 20 | border-radius: 5px 0 0 5px; 21 | } 22 | .progressbar { 23 | border-color: #000; 24 | } 25 | .progressbar-text { 26 | color: #fff; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #0052A3; 31 | color: #fff; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #222; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #3d3d3d; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #222; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #3d3d3d; 28 | } 29 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/spinner.css: -------------------------------------------------------------------------------- 1 | .spinner { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .spinner .spinner-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: baseline; 17 | } 18 | .spinner-arrow { 19 | background-color: #3d3d3d; 20 | display: inline-block; 21 | overflow: hidden; 22 | vertical-align: top; 23 | margin: 0; 24 | padding: 0; 25 | opacity: 1.0; 26 | filter: alpha(opacity=100); 27 | width: 18px; 28 | } 29 | .spinner-arrow-up, 30 | .spinner-arrow-down { 31 | opacity: 0.6; 32 | filter: alpha(opacity=60); 33 | display: block; 34 | font-size: 1px; 35 | width: 18px; 36 | height: 10px; 37 | width: 100%; 38 | height: 50%; 39 | color: #fff; 40 | outline-style: none; 41 | } 42 | .spinner-arrow-hover { 43 | background-color: #777; 44 | opacity: 1.0; 45 | filter: alpha(opacity=100); 46 | } 47 | .spinner-arrow-up:hover, 48 | .spinner-arrow-down:hover { 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | background-color: #777; 52 | } 53 | .textbox-icon-disabled .spinner-arrow-up:hover, 54 | .textbox-icon-disabled .spinner-arrow-down:hover { 55 | opacity: 0.6; 56 | filter: alpha(opacity=60); 57 | background-color: #3d3d3d; 58 | cursor: default; 59 | } 60 | .spinner .textbox-icon-disabled { 61 | opacity: 0.6; 62 | filter: alpha(opacity=60); 63 | } 64 | .spinner-arrow-up { 65 | background: url('images/spinner_arrows.png') no-repeat 1px center; 66 | } 67 | .spinner-arrow-down { 68 | background: url('images/spinner_arrows.png') no-repeat -15px center; 69 | } 70 | .spinner { 71 | border-color: #000; 72 | } 73 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #cccccc; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/black/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #ffffff; 30 | border-color: #D4D4D4; 31 | } 32 | .accordion .accordion-header { 33 | background: #F2F2F2; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #0081c2; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #fff; 41 | } 42 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #ffffff; 40 | } 41 | .combo { 42 | border-color: #D4D4D4; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #F2F2F2; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #e6e6e6; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #e6e6e6; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #e6e6e6; 19 | color: #00438a; 20 | } 21 | .combobox-item-selected { 22 | background-color: #0081c2; 23 | color: #fff; 24 | } 25 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #F5F5F5; 33 | } 34 | .datebox-button a { 35 | color: #444; 36 | } 37 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #ccc; 11 | border-right: 1px solid #fff; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #F5F5F5; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #D4D4D4 #D4D4D4 #e6e6e6 #D4D4D4; 29 | } 30 | .dialog-button { 31 | border-color: #e6e6e6 #D4D4D4 #D4D4D4 #D4D4D4; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | .filebox-label { 8 | display: inline-block; 9 | position: absolute; 10 | width: 100%; 11 | height: 100%; 12 | cursor: pointer; 13 | left: 0; 14 | top: 0; 15 | z-index: 10; 16 | background: url('images/blank.gif') no-repeat; 17 | } 18 | .l-btn-disabled .filebox-label { 19 | cursor: default; 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/accordion_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/blank.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/calendar_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/combo_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/datagrid_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/datebox_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/layout_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/linkbutton_bg.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/loading.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/menu_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/messager_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/pagination_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/panel_tools.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/searchbox_button.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/slider_handle.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/spinner_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/tabs_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/tree_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/images/validatebox_warning.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #D4D4D4; 40 | } 41 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #D4D4D4; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #ccc; 15 | border-right: 1px solid #fff; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #D4D4D4; 71 | } 72 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 5px 5px 5px 5px; 5 | -webkit-border-radius: 5px 5px 5px 5px; 6 | border-radius: 5px 5px 5px 5px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 5px 0 0 5px; 19 | -webkit-border-radius: 5px 0 0 5px; 20 | border-radius: 5px 0 0 5px; 21 | } 22 | .progressbar { 23 | border-color: #D4D4D4; 24 | } 25 | .progressbar-text { 26 | color: #333; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #0081c2; 31 | color: #fff; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #e6e6e6; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #F2F2F2; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #e6e6e6; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #F2F2F2; 28 | } 29 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/spinner.css: -------------------------------------------------------------------------------- 1 | .spinner { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .spinner .spinner-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: baseline; 17 | } 18 | .spinner-arrow { 19 | background-color: #F2F2F2; 20 | display: inline-block; 21 | overflow: hidden; 22 | vertical-align: top; 23 | margin: 0; 24 | padding: 0; 25 | opacity: 1.0; 26 | filter: alpha(opacity=100); 27 | width: 18px; 28 | } 29 | .spinner-arrow-up, 30 | .spinner-arrow-down { 31 | opacity: 0.6; 32 | filter: alpha(opacity=60); 33 | display: block; 34 | font-size: 1px; 35 | width: 18px; 36 | height: 10px; 37 | width: 100%; 38 | height: 50%; 39 | color: #444; 40 | outline-style: none; 41 | } 42 | .spinner-arrow-hover { 43 | background-color: #e6e6e6; 44 | opacity: 1.0; 45 | filter: alpha(opacity=100); 46 | } 47 | .spinner-arrow-up:hover, 48 | .spinner-arrow-down:hover { 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | background-color: #e6e6e6; 52 | } 53 | .textbox-icon-disabled .spinner-arrow-up:hover, 54 | .textbox-icon-disabled .spinner-arrow-down:hover { 55 | opacity: 0.6; 56 | filter: alpha(opacity=60); 57 | background-color: #F2F2F2; 58 | cursor: default; 59 | } 60 | .spinner .textbox-icon-disabled { 61 | opacity: 0.6; 62 | filter: alpha(opacity=60); 63 | } 64 | .spinner-arrow-up { 65 | background: url('images/spinner_arrows.png') no-repeat 1px center; 66 | } 67 | .spinner-arrow-down { 68 | background: url('images/spinner_arrows.png') no-repeat -15px center; 69 | } 70 | .spinner { 71 | border-color: #D4D4D4; 72 | } 73 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #bbb; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/bootstrap/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #ffffff; 30 | border-color: #95B8E7; 31 | } 32 | .accordion .accordion-header { 33 | background: #E0ECFF; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #ffe48d; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #000000; 41 | } 42 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #ffffff; 40 | } 41 | .combo { 42 | border-color: #95B8E7; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #E0ECFF; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #eaf2ff; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #eaf2ff; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #eaf2ff; 19 | color: #000000; 20 | } 21 | .combobox-item-selected { 22 | background-color: #ffe48d; 23 | color: #000000; 24 | } 25 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #F4F4F4; 33 | } 34 | .datebox-button a { 35 | color: #444; 36 | } 37 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #ccc; 11 | border-right: 1px solid #fff; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #F4F4F4; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #95B8E7 #95B8E7 #dddddd #95B8E7; 29 | } 30 | .dialog-button { 31 | border-color: #dddddd #95B8E7 #95B8E7 #95B8E7; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | .filebox-label { 8 | display: inline-block; 9 | position: absolute; 10 | width: 100%; 11 | height: 100%; 12 | cursor: pointer; 13 | left: 0; 14 | top: 0; 15 | z-index: 10; 16 | background: url('images/blank.gif') no-repeat; 17 | } 18 | .l-btn-disabled .filebox-label { 19 | cursor: default; 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/accordion_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/blank.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/calendar_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/combo_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/datagrid_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/datebox_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/layout_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/linkbutton_bg.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/loading.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/menu_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/messager_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/pagination_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/panel_tools.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/searchbox_button.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/slider_handle.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/spinner_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/tabs_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/tree_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/default/images/validatebox_warning.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #95B8E7; 40 | } 41 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #95B8E7; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #ccc; 15 | border-right: 1px solid #fff; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #95B8E7; 71 | } 72 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 5px 5px 5px 5px; 5 | -webkit-border-radius: 5px 5px 5px 5px; 6 | border-radius: 5px 5px 5px 5px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 5px 0 0 5px; 19 | -webkit-border-radius: 5px 0 0 5px; 20 | border-radius: 5px 0 0 5px; 21 | } 22 | .progressbar { 23 | border-color: #95B8E7; 24 | } 25 | .progressbar-text { 26 | color: #000000; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #ffe48d; 31 | color: #000000; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #dddddd; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #E0ECFF; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #dddddd; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #E0ECFF; 28 | } 29 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #aac5e7; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/default/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #ffffff; 30 | border-color: #D3D3D3; 31 | } 32 | .accordion .accordion-header { 33 | background: #f3f3f3; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #0092DC; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #fff; 41 | } 42 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #ffffff; 40 | } 41 | .combo { 42 | border-color: #D3D3D3; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #f3f3f3; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #e2e2e2; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #e2e2e2; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #e2e2e2; 19 | color: #000000; 20 | } 21 | .combobox-item-selected { 22 | background-color: #0092DC; 23 | color: #fff; 24 | } 25 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #fafafa; 33 | } 34 | .datebox-button a { 35 | color: #444; 36 | } 37 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #ccc; 11 | border-right: 1px solid #fff; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #fafafa; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #D3D3D3 #D3D3D3 #ddd #D3D3D3; 29 | } 30 | .dialog-button { 31 | border-color: #ddd #D3D3D3 #D3D3D3 #D3D3D3; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | .filebox-label { 8 | display: inline-block; 9 | position: absolute; 10 | width: 100%; 11 | height: 100%; 12 | cursor: pointer; 13 | left: 0; 14 | top: 0; 15 | z-index: 10; 16 | background: url('images/blank.gif') no-repeat; 17 | } 18 | .l-btn-disabled .filebox-label { 19 | cursor: default; 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/accordion_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/blank.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/calendar_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/combo_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/datagrid_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/datebox_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/layout_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/linkbutton_bg.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/loading.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/menu_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/messager_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/pagination_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/panel_tools.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/searchbox_button.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/slider_handle.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/spinner_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/tabs_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/tree_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/gray/images/validatebox_warning.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #D3D3D3; 40 | } 41 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #D3D3D3; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #ccc; 15 | border-right: 1px solid #fff; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #D3D3D3; 71 | } 72 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 5px 5px 5px 5px; 5 | -webkit-border-radius: 5px 5px 5px 5px; 6 | border-radius: 5px 5px 5px 5px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 5px 0 0 5px; 19 | -webkit-border-radius: 5px 0 0 5px; 20 | border-radius: 5px 0 0 5px; 21 | } 22 | .progressbar { 23 | border-color: #D3D3D3; 24 | } 25 | .progressbar-text { 26 | color: #000000; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #0092DC; 31 | color: #fff; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #ddd; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #f3f3f3; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #ddd; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #f3f3f3; 28 | } 29 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/spinner.css: -------------------------------------------------------------------------------- 1 | .spinner { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .spinner .spinner-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: baseline; 17 | } 18 | .spinner-arrow { 19 | background-color: #f3f3f3; 20 | display: inline-block; 21 | overflow: hidden; 22 | vertical-align: top; 23 | margin: 0; 24 | padding: 0; 25 | opacity: 1.0; 26 | filter: alpha(opacity=100); 27 | width: 18px; 28 | } 29 | .spinner-arrow-up, 30 | .spinner-arrow-down { 31 | opacity: 0.6; 32 | filter: alpha(opacity=60); 33 | display: block; 34 | font-size: 1px; 35 | width: 18px; 36 | height: 10px; 37 | width: 100%; 38 | height: 50%; 39 | color: #444; 40 | outline-style: none; 41 | } 42 | .spinner-arrow-hover { 43 | background-color: #e2e2e2; 44 | opacity: 1.0; 45 | filter: alpha(opacity=100); 46 | } 47 | .spinner-arrow-up:hover, 48 | .spinner-arrow-down:hover { 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | background-color: #e2e2e2; 52 | } 53 | .textbox-icon-disabled .spinner-arrow-up:hover, 54 | .textbox-icon-disabled .spinner-arrow-down:hover { 55 | opacity: 0.6; 56 | filter: alpha(opacity=60); 57 | background-color: #f3f3f3; 58 | cursor: default; 59 | } 60 | .spinner .textbox-icon-disabled { 61 | opacity: 0.6; 62 | filter: alpha(opacity=60); 63 | } 64 | .spinner-arrow-up { 65 | background: url('images/spinner_arrows.png') no-repeat 1px center; 66 | } 67 | .spinner-arrow-down { 68 | background: url('images/spinner_arrows.png') no-repeat -15px center; 69 | } 70 | .spinner { 71 | border-color: #D3D3D3; 72 | } 73 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #bfbfbf; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/gray/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/add.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/back.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/blank.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/btn.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/cancel.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/clear.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/company.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/company.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/cut.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/del.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/del.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/edit_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/edit_add.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/edit_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/edit_remove.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/filesave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/filesave.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/filter.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/folder.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/help.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/home.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/large_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/large_chart.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/large_clipart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/large_clipart.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/large_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/large_picture.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/large_shapes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/large_shapes.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/large_smartart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/large_smartart.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/list.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/lock.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/man.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/mini_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/mini_add.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/mini_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/mini_edit.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/mini_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/mini_refresh.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/more.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/no.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/ok.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/pencil.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/print.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/redo.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/refresh.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/reload.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/search.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/sum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/sum.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/tip.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/icons/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/icons/undo.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #fff; 30 | border-color: #ddd; 31 | } 32 | .accordion .accordion-header { 33 | background: #ffffff; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #CCE6FF; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #000; 41 | } 42 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #fff; 40 | } 41 | .combo { 42 | border-color: #ddd; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #ffffff; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #E6E6E6; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #E6E6E6; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #E6E6E6; 19 | color: #444; 20 | } 21 | .combobox-item-selected { 22 | background-color: #CCE6FF; 23 | color: #000; 24 | } 25 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #fff; 33 | } 34 | .datebox-button a { 35 | color: #777; 36 | } 37 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #ddd; 11 | border-right: 1px solid #fff; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #fff; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #ddd #ddd #ddd #ddd; 29 | } 30 | .dialog-button { 31 | border-color: #ddd #ddd #ddd #ddd; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | .filebox-label { 8 | display: inline-block; 9 | position: absolute; 10 | width: 100%; 11 | height: 100%; 12 | cursor: pointer; 13 | left: 0; 14 | top: 0; 15 | z-index: 10; 16 | background: url('images/blank.gif') no-repeat; 17 | } 18 | .l-btn-disabled .filebox-label { 19 | cursor: default; 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/accordion_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/blank.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/calendar_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/combo_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/datagrid_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/datebox_arrow.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/layout_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/linkbutton_bg.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/loading.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/menu_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/messager_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/pagination_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/panel_tools.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/searchbox_button.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/slider_handle.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/spinner_arrows.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/tabs_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/tree_icons.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/easyui/themes/metro/images/validatebox_warning.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #ddd; 40 | } 41 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #ddd; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #ddd; 15 | border-right: 1px solid #fff; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #ddd; 71 | } 72 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 0px 0px 0px 0px; 5 | -webkit-border-radius: 0px 0px 0px 0px; 6 | border-radius: 0px 0px 0px 0px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 0px 0 0 0px; 19 | -webkit-border-radius: 0px 0 0 0px; 20 | border-radius: 0px 0 0 0px; 21 | } 22 | .progressbar { 23 | border-color: #ddd; 24 | } 25 | .progressbar-text { 26 | color: #444; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #CCE6FF; 31 | color: #000; 32 | } 33 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #ddd; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #ffffff; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #ddd; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #ffffff; 28 | } 29 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/spinner.css: -------------------------------------------------------------------------------- 1 | .spinner { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .spinner .spinner-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: baseline; 17 | } 18 | .spinner-arrow { 19 | background-color: #ffffff; 20 | display: inline-block; 21 | overflow: hidden; 22 | vertical-align: top; 23 | margin: 0; 24 | padding: 0; 25 | opacity: 1.0; 26 | filter: alpha(opacity=100); 27 | width: 18px; 28 | } 29 | .spinner-arrow-up, 30 | .spinner-arrow-down { 31 | opacity: 0.6; 32 | filter: alpha(opacity=60); 33 | display: block; 34 | font-size: 1px; 35 | width: 18px; 36 | height: 10px; 37 | width: 100%; 38 | height: 50%; 39 | color: #777; 40 | outline-style: none; 41 | } 42 | .spinner-arrow-hover { 43 | background-color: #E6E6E6; 44 | opacity: 1.0; 45 | filter: alpha(opacity=100); 46 | } 47 | .spinner-arrow-up:hover, 48 | .spinner-arrow-down:hover { 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | background-color: #E6E6E6; 52 | } 53 | .textbox-icon-disabled .spinner-arrow-up:hover, 54 | .textbox-icon-disabled .spinner-arrow-down:hover { 55 | opacity: 0.6; 56 | filter: alpha(opacity=60); 57 | background-color: #ffffff; 58 | cursor: default; 59 | } 60 | .spinner .textbox-icon-disabled { 61 | opacity: 0.6; 62 | filter: alpha(opacity=60); 63 | } 64 | .spinner-arrow-up { 65 | background: url('images/spinner_arrows.png') no-repeat 1px center; 66 | } 67 | .spinner-arrow-down { 68 | background: url('images/spinner_arrows.png') no-repeat -15px center; 69 | } 70 | .spinner { 71 | border-color: #ddd; 72 | } 73 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #b3b3b3; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/easyui/themes/metro/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/icommon.css: -------------------------------------------------------------------------------- 1 | .i_accordion_menu { 2 | color: #F7F6C3; 3 | } 4 | 5 | .i_accordion_menu .panel-with-icon { 6 | padding-left: 0px; 7 | } 8 | 9 | .i_accordion_menu .accordion-header-selected { 10 | background: #F7F6C3; 11 | } 12 | 13 | .i_accordion_menu .nav-item { 14 | padding: 5px 0px 5px 10px; 15 | margin: 5px 6px 10px 6px; 16 | cursor: pointer; 17 | } 18 | 19 | .i_accordion_menu .nav-item:hover { 20 | background: rgba(0, 0, 255, 0.20); 21 | border-radius: 6px; 22 | } 23 | 24 | .i_accordion_menu .nav-item:hover a { 25 | display: block; 26 | color: #00f; 27 | } 28 | 29 | .i_accordion_menu .nav-item a { 30 | color: #0697da; 31 | text-decoration: none; 32 | } 33 | 34 | .menu_icon_datadeal { 35 | border: 0px; 36 | padding: 2px 8px; 37 | margin-right: 5px; 38 | width: 0px; 39 | 40 | background: url(tabicons.gif) no-repeat -380px -60px; 41 | } 42 | 43 | .menu_icon_service{ 44 | border: 0px; 45 | padding:2px 8px; 46 | margin-right:5px; 47 | width:0px; 48 | 49 | background: url(tabicons.gif) no-repeat -100px -480px; 50 | } 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/image/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/image/favicon.ico -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/image/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/image/logo.jpg -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/css/dreamlu.css: -------------------------------------------------------------------------------- 1 | *{font-size:12px;} 2 | body {font-family:helvetica,tahoma,verdana,sans-serif;padding:20px;font-size:13px;margin:0;} 3 | h2 {font-size:18px;font-weight:bold;margin:0;margin-bottom:15px;} 4 | 5 | .grid {border: 1px solid #eeeeee;font: 12px arial,helvetica,sans-serif;} 6 | .grid td {font: 100% arial,helvetica,sans-serif;height: 24px;padding: 5px;} 7 | .grid {border-collapse: collapse;width: 100%;} 8 | .grid th {background: none repeat scroll 0 0 #E7F3FE;border: 1px solid #eeeeee;height: 27px;line-height: 27px;padding-left: 5px;} 9 | .grid td {border: 1px solid #eeeeee;padding-left: 5px;} 10 | 11 | /*#layout_west_tree li ul li div{padding:5px 5px 3px 5px;}*/ 12 | #layout_west_tree li div{padding:5px 5px 3px 10px;} 13 | 14 | #header{overflow:hidden;height:50px;background:#fff ;line-height:50px;color:#fff;font-family:Verdana,微软雅黑,黑体} 15 | .header{background: url(../images/logo.png) no-repeat left; width: 285px; height: 50px; float: left;} 16 | #common_b{overflow:hidden;height:70px;line-height:70px;color:#fff;font-family:Verdana,微软雅黑,黑体} 17 | #common{overflow:hidden;height:60px;background:#eee;line-height:60px;color:#fff;font-family:Verdana,微软雅黑,黑体} 18 | 19 | .light-info{background:#FFFEE6;color:#8F5700;padding:12px;} 20 | .light-tip{width:16px;height:16px;margin-right:8px;float:left;} 21 | -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/ajax-loader.gif -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/hand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/hand.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/left-handing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/left-handing.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/left_hand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/left_hand.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/logo.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/password.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/right_hand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/right_hand.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/right_handing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/right_handing.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/tou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/tou.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/style/images/username.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/style/images/username.png -------------------------------------------------------------------------------- /einvoice-management/src/main/webapp/static/tabicons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-management/src/main/webapp/static/tabicons.gif -------------------------------------------------------------------------------- /einvoice-query/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | 3 | logging.config=classpath:logback.xml 4 | logging.level.org.springframework=INFO 5 | logging.level.org.springframework.web.servlet.DispatcherServlet=INFO 6 | 7 | # server port 8 | server.port=80 9 | 10 | # Mysql 11 | spring.datasource.url=jdbc:mysql://127.0.0.1:3306/einvoice?useUnicode=true&characterEncoding=utf8&useSSL=false 12 | spring.datasource.username=root 13 | spring.datasource.password=mysql 14 | spring.datasource.driverClassName=com.mysql.jdbc.Driver 15 | 16 | spring.datasource.maxActive=50 17 | 18 | spring.datasource.maxIdle=50 19 | spring.datasource.minIdle=10 20 | spring.datasource.initialSize=5 21 | spring.datasource.validationQuery=select * ; 22 | spring.datasource.testOnBorrow=true 23 | spring.datasource.testOnReturn=false 24 | spring.datasource.testWhileIdle=true 25 | spring.datasource.timeBetweenEvictionRunsMillis=30000 26 | spring.datasource.minEvictableIdleTimeMillis=30000 27 | ##spring.datasource.max-wait= 28 | ############ tomcat jdbc pool specified config start ############# 29 | spring.datasource.jmxEnabled=true 30 | spring.datasource.validationInterval=30000 31 | spring.datasource.logAbandoned=false 32 | spring.datasource.removeAbandoned=true 33 | spring.datasource.removeAbandonedTimeout=60 34 | spring.datasource.jdbcInterceptors=org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer 35 | ############ tomcat jdbc pool specified config end ############# 36 | 37 | 38 | spring.jpa.show-sql=false 39 | spring.jpa.hibernate.ddl-auto=update 40 | 41 | einvoice.pdf.dic=c: 42 | -------------------------------------------------------------------------------- /einvoice-query/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | %d{yyyy-MM-dd HH:mm:ss} [%level] - %m%n 14 | 15 | 16 | 20 | 21 | 22 | 24 | 25 | ${FILE_LOG_PATTERN} 26 | 27 | ${LOG_FILE} 28 | 29 | ${LOG_FILE}.%i 30 | 1 31 | 2000 32 | 33 | 35 | 10MB 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /einvoice-query/src/main/resources/static/image/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-query/src/main/resources/static/image/favicon.ico -------------------------------------------------------------------------------- /einvoice-query/src/main/resources/static/image/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangsd/einvoice/e1e55eb4f1e151b4b0105e7dac20e66053fd9b06/einvoice-query/src/main/resources/static/image/logo.jpg -------------------------------------------------------------------------------- /einvoice-service/src/main/java/com/service/constants/InvoiceConstants.java: -------------------------------------------------------------------------------- 1 | package com.service.constants; 2 | 3 | /** 4 | * 5 | * */ 6 | 7 | public class InvoiceConstants { 8 | 9 | public static String SYMBOL_AND = "&"; 10 | 11 | public static String SYMBOL_EQUAL = "="; 12 | 13 | public static String CHARSET_GBK = "GBK"; 14 | 15 | public static String CERT = "cert"; 16 | 17 | public static String CERT_SUFFIX = ".p12"; 18 | 19 | public static String VERSION = "1.0"; 20 | 21 | public static String CHARSET_UTF8 = "UTF-8"; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /einvoice-service/src/main/java/com/service/constants/InvoiceParamKeys.java: -------------------------------------------------------------------------------- 1 | package com.service.constants; 2 | 3 | /** 4 | * 名称:Hyt接口参数换 版本:1.1 日期:2015-07 作者:深圳市前海汇银通支付科技有限公司技术管理部 版权:深圳市前海汇银通支付科技有限公司 5 | * 说明:以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。该代码仅供参考。 6 | * */ 7 | 8 | public class InvoiceParamKeys { 9 | 10 | public static String CHARSET = "charset"; 11 | 12 | public static String VERSION = "version"; 13 | 14 | public static String MERCHANT_CERT = "merchant_cert"; 15 | 16 | public static String MERCHANT_SIGN = "merchant_sign"; 17 | 18 | public static String SIGN_TYPE = "sign_type"; 19 | 20 | public static String MERCHANT_CODE = "merchant_code"; 21 | 22 | public static String MERCHANT_NAME = "merchant_name"; 23 | 24 | public static String APP_NO = "app_no"; 25 | 26 | public static String ATTACH = "attach"; 27 | 28 | public static String NOTIFY_URL = "notify_url"; 29 | 30 | public static String RETURN_CODE = "return_code"; 31 | 32 | public static String RETURN_MSG = "return_msg"; 33 | 34 | public static String SUBMITDATE="submitdate"; 35 | 36 | public static String SERVER_SIGN="server_sign"; 37 | 38 | public static String SERVER_CERT="server_cert"; 39 | 40 | public static String KEY="key"; 41 | 42 | public static String INVOICE_ORDERBODY_LIST="invoiceOrderBodyList"; 43 | 44 | } 45 | -------------------------------------------------------------------------------- /einvoice-service/src/main/java/com/service/constants/SignType.java: -------------------------------------------------------------------------------- 1 | package com.service.constants; 2 | 3 | /** 4 | * Created by sdyang on 2016/10/11. 5 | */ 6 | public class SignType { 7 | 8 | public static String RSA = "RSA"; 9 | 10 | public static String MD5 = "MD5"; 11 | } 12 | -------------------------------------------------------------------------------- /einvoice-service/src/main/java/com/service/util/MapUtil.java: -------------------------------------------------------------------------------- 1 | package com.service.util; 2 | 3 | import java.lang.reflect.Field; 4 | import java.lang.reflect.Method; 5 | import java.lang.reflect.Modifier; 6 | import java.util.HashMap; 7 | import java.util.Map; 8 | 9 | /** 10 | * Created by sdyang on 2016/10/11. 11 | */ 12 | public class MapUtil { 13 | 14 | //将bean对象转换为map 15 | public static Map beanToMap(Object entity) { 16 | Class c = entity.getClass(); 17 | Object fieldValue = null; 18 | String fieldName = null; 19 | Field[] fields = c.getDeclaredFields(); 20 | Map fieldMap = new HashMap(); 21 | for (Field field : fields) { 22 | fieldName = field.getName(); 23 | if (field.getModifiers() == Modifier.PUBLIC) { 24 | try { 25 | fieldValue = field.get(entity); 26 | } catch (Exception e) { 27 | e.printStackTrace(); 28 | } 29 | } else { 30 | fieldValue = invokeGet(entity, fieldName); 31 | } 32 | fieldMap.put(fieldName, fieldValue == null ? "" : fieldValue.toString()); 33 | } 34 | return fieldMap; 35 | } 36 | 37 | private static Object invokeGet(Object entity, String fieldName) { 38 | try { 39 | Method method = entity.getClass().getMethod( 40 | "get" + fieldName.replaceFirst(fieldName.substring(0, 1), fieldName.substring(0, 1).toUpperCase())); 41 | return method.invoke(entity); 42 | } catch (Exception e) { 43 | e.printStackTrace(); 44 | } 45 | return null; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /einvoice-service/src/main/java/com/service/util/ResponseUtil.java: -------------------------------------------------------------------------------- 1 | package com.service.util; 2 | 3 | 4 | import com.service.constants.InvoiceConstants; 5 | import com.service.constants.SignType; 6 | import com.service.vo.InvoiceOrderResponse; 7 | 8 | /** 9 | * Created by sdyang on 2016/10/11. 10 | */ 11 | public class ResponseUtil { 12 | 13 | public static InvoiceOrderResponse buildResponse(){ 14 | InvoiceOrderResponse response = new InvoiceOrderResponse(); 15 | response.setCharset(InvoiceConstants.CHARSET_UTF8); 16 | response.setSign_type(SignType.MD5); 17 | response.setVersion(InvoiceConstants.VERSION); 18 | return response; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /einvoice-service/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | 3 | logging.config=classpath:logback.xml 4 | logging.level.org.springframework=INFO 5 | logging.level.org.springframework.web.servlet.DispatcherServlet=DEBUG 6 | 7 | # server port 8 | server.port=8981 9 | 10 | # Mysql 11 | spring.datasource.url=jdbc:mysql://127.0.0.1:3306/einvoice?useUnicode=true&characterEncoding=utf8&useSSL=false 12 | spring.datasource.username=root 13 | spring.datasource.password=mysql 14 | spring.datasource.driverClassName=com.mysql.jdbc.Driver 15 | 16 | spring.datasource.maxActive=50 17 | 18 | spring.datasource.maxIdle=50 19 | spring.datasource.minIdle=10 20 | spring.datasource.initialSize=5 21 | spring.datasource.validationQuery=select * ; 22 | spring.datasource.testOnBorrow=true 23 | spring.datasource.testOnReturn=false 24 | spring.datasource.testWhileIdle=true 25 | spring.datasource.timeBetweenEvictionRunsMillis=30000 26 | spring.datasource.minEvictableIdleTimeMillis=30000 27 | ##spring.datasource.max-wait= 28 | ############ tomcat jdbc pool specified config start ############# 29 | spring.datasource.jmxEnabled=true 30 | spring.datasource.validationInterval=30000 31 | spring.datasource.logAbandoned=false 32 | spring.datasource.removeAbandoned=true 33 | spring.datasource.removeAbandonedTimeout=60 34 | spring.datasource.jdbcInterceptors=org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer 35 | ############ tomcat jdbc pool specified config end ############# 36 | 37 | 38 | spring.jpa.show-sql=true 39 | 40 | spring.jpa.hibernate.ddl-auto=update -------------------------------------------------------------------------------- /einvoice-task/src/main/java/com/task/task/XmlPdfTask.java: -------------------------------------------------------------------------------- 1 | package com.task.task; 2 | 3 | import com.task.service.EinvoiceXmlPdfService; 4 | import com.google.zxing.WriterException; 5 | import org.slf4j.Logger; 6 | import org.slf4j.LoggerFactory; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.scheduling.annotation.Scheduled; 9 | import org.springframework.stereotype.Component; 10 | import org.springframework.transaction.annotation.Transactional; 11 | 12 | import java.io.IOException; 13 | 14 | /** 15 | * 根据数据库表里的发票信息生成电子发票 16 | * Created by sdyang on 2016/10/7. 17 | */ 18 | @Component 19 | public class XmlPdfTask { 20 | 21 | private final Logger logger = LoggerFactory.getLogger(getClass()); 22 | 23 | @Autowired 24 | private EinvoiceXmlPdfService xmlPdfService; 25 | 26 | //@Scheduled(fixedRate = 3000) 27 | public void genXml(){ 28 | xmlPdfService.genXml(); 29 | } 30 | 31 | //@Scheduled(fixedRate = 5000) 32 | public void readXml() { 33 | try { 34 | xmlPdfService.readXml(); 35 | } catch (org.dom4j.DocumentException e) { 36 | e.printStackTrace(); 37 | } 38 | 39 | } 40 | 41 | @Scheduled(fixedRate = 5000) 42 | public void genPdf(){ 43 | try { 44 | xmlPdfService.genPdf(); 45 | } catch (com.itextpdf.text.DocumentException e) { 46 | e.printStackTrace(); 47 | } catch (IOException e) { 48 | e.printStackTrace(); 49 | } catch (WriterException e) { 50 | e.printStackTrace(); 51 | } 52 | } 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /einvoice-task/src/main/java/com/task/util/FileUtil.java: -------------------------------------------------------------------------------- 1 | package com.task.util; 2 | 3 | import com.task.service.EinvoiceXmlPdfService; 4 | import org.apache.log4j.Logger; 5 | 6 | import java.io.File; 7 | 8 | /** 9 | * Created by sdyang on 2016/10/7. 10 | */ 11 | public class FileUtil { 12 | 13 | private static Logger logger = Logger.getLogger(FileUtil.class); 14 | 15 | public static boolean isExist(String filePath) { 16 | String paths[] = filePath.split("\\\\"); 17 | String dir = paths[0]; 18 | for (int i = 0; i < paths.length - 2; i++) { 19 | try { 20 | dir = dir + "/" + paths[i + 1]; 21 | File dirFile = new File(dir); 22 | if (!dirFile.exists()) { 23 | dirFile.mkdir(); 24 | } 25 | } catch (Exception err) { 26 | logger.error(err.toString()); 27 | } 28 | } 29 | File fp = new File(filePath); 30 | if(!fp.exists()){ 31 | return true; 32 | }else{ 33 | return false; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /einvoice-task/src/main/java/com/task/util/NumberToCN.java: -------------------------------------------------------------------------------- 1 | package com.task.util; 2 | 3 | /** 4 | * Created by sdyang on 2016/10/1. 5 | */ 6 | public class NumberToCN { 7 | private static final String UNIT = "万千佰拾亿千佰拾万千佰拾元角分"; 8 | private static final String DIGIT = "零壹贰叁肆伍陆柒捌玖"; 9 | private static final double MAX_VALUE = 9999999999999.99D; 10 | public static String change(double v) { 11 | if (v < 0 || v > MAX_VALUE){ 12 | return "参数非法!"; 13 | } 14 | long l = Math.round(v * 100); 15 | if (l == 0){ 16 | return "零元整"; 17 | } 18 | String strValue = l + ""; 19 | // i用来控制数 20 | int i = 0; 21 | // j用来控制单位 22 | int j = UNIT.length() - strValue.length(); 23 | String rs = ""; 24 | boolean isZero = false; 25 | for (; i < strValue.length(); i++, j++) { 26 | char ch = strValue.charAt(i); 27 | if (ch == '0') { 28 | isZero = true; 29 | if (UNIT.charAt(j) == '亿' || UNIT.charAt(j) == '万' || UNIT.charAt(j) == '元') { 30 | rs = rs + UNIT.charAt(j); 31 | isZero = false; 32 | } 33 | } else { 34 | if (isZero) { 35 | rs = rs + "零"; 36 | isZero = false; 37 | } 38 | rs = rs + DIGIT.charAt(ch - '0') + UNIT.charAt(j); 39 | } 40 | } 41 | if (!rs.endsWith("分")) { 42 | rs = rs + "整"; 43 | } 44 | rs = rs.replaceAll("亿万", "亿"); 45 | return rs; 46 | } 47 | } 48 | --------------------------------------------------------------------------------