提交 bad276df 编写于 作者: ibizdev's avatar ibizdev

Mosher 发布系统代码 [后台服务,演示应用]

上级 063f4973
...@@ -1030,10 +1030,10 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1030,10 +1030,10 @@ export default class MainBase extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000}, "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000} "ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -1026,10 +1026,10 @@ export default class UIPART_0015Base extends Vue implements ControlInterface { ...@@ -1026,10 +1026,10 @@ export default class UIPART_0015Base extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000}, "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000} "ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -1149,10 +1149,10 @@ export default class UIPART_0017Base extends Vue implements ControlInterface { ...@@ -1149,10 +1149,10 @@ export default class UIPART_0017Base extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000}, "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000} "ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -1081,10 +1081,10 @@ export default class UIPART_0018Base extends Vue implements ControlInterface { ...@@ -1081,10 +1081,10 @@ export default class UIPART_0018Base extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000}, "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000} "ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -54,6 +54,9 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -54,6 +54,9 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Value("${ibiz.file.previewpath:ibizutil/preview}") @Value("${ibiz.file.previewpath:ibizutil/preview}")
private String previewpath; private String previewpath;
@Value("${ibiz.auth.excludesPattern:}")
private String[] excludesPattern;
@Autowired @Autowired
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
auth auth
...@@ -116,9 +119,15 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -116,9 +119,15 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
// 文件操作 // 文件操作
.antMatchers("/"+downloadpath+"/**").permitAll() .antMatchers("/"+downloadpath+"/**").permitAll()
.antMatchers("/"+uploadpath).permitAll() .antMatchers("/"+uploadpath).permitAll()
.antMatchers("/"+previewpath+"/**").permitAll() .antMatchers("/"+previewpath+"/**");
for (String excludePattern : excludesPattern) {
authenticationTokenFilter.addExcludePattern(excludePattern);
httpSecurity.authorizeRequests().antMatchers(excludePattern).permitAll();
}
// 所有请求都需要认证 // 所有请求都需要认证
.anyRequest().authenticated() httpSecurity.authorizeRequests().anyRequest().authenticated()
// 防止iframe 造成跨域 // 防止iframe 造成跨域
.and().headers().frameOptions().disable(); .and().headers().frameOptions().disable();
......
...@@ -8,10 +8,10 @@ import java.util.List; ...@@ -8,10 +8,10 @@ import java.util.List;
public interface IBIZOrderImport { public interface IBIZOrderImport {
@Mappings({ @Mappings({
@Mapping(target = "ibizorderid",source = "ibizorderid"), @Mapping(target = "ibizorderid",source = "ibizorderid"),
@Mapping(target = "ordertype",source = "ordertype"),
@Mapping(target = "ordertime",source = "ordertime"), @Mapping(target = "ordertime",source = "ordertime"),
@Mapping(target = "orderuid",source = "orderuid"), @Mapping(target = "orderuid",source = "orderuid"),
@Mapping(target = "ibizordername",source = "ibizordername"), @Mapping(target = "ibizordername",source = "ibizordername"),
@Mapping(target = "ordertype",source = "ordertype"),
}) })
@BeanMapping(ignoreByDefault = true) @BeanMapping(ignoreByDefault = true)
IBIZOrder toDomain(IBIZOrder entity); IBIZOrder toDomain(IBIZOrder entity);
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-15-8"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-18-8">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-15-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-18-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
......
...@@ -6,5 +6,5 @@ Tip: If the failing expression is known to be legally refer to something that's ...@@ -6,5 +6,5 @@ Tip: If the failing expression is known to be legally refer to something that's
---- ----
FTL stack trace ("~" means nesting-related): FTL stack trace ("~" means nesting-related):
- Failed at: #if WFProcess.isSendInform() [in template "CODETEMPL_en_US" at line 205, column 10] - Failed at: #if (WFProcess.isSendInform()?? && WF... [in template "CODETEMPL_en_US" at line 205, column 10]
---- ----
\ No newline at end of file
...@@ -48,9 +48,15 @@ ...@@ -48,9 +48,15 @@
<startEvent id="sid-4628cd862028e0e56ac47dd1bb7f1047" name="开始流程"/> <startEvent id="sid-4628cd862028e0e56ac47dd1bb7f1047" name="开始流程"/>
<sequenceFlow id="lid-C100-3b8382c4dfc666ed526e0ff0c381c228" sourceRef="tid-10-0d5239b54dcdea417a130288e7fb6712" targetRef="sid-7e58f6a708302a8808d1ee2b8296227e" name="审核通过"> <sequenceFlow id="lid-C100-3b8382c4dfc666ed526e0ff0c381c228" sourceRef="tid-10-0d5239b54dcdea417a130288e7fb6712" targetRef="sid-7e58f6a708302a8808d1ee2b8296227e" name="审核通过">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-3b8382c4dfc666ed526e0ff0c381c228"}]]></conditionExpression> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-3b8382c4dfc666ed526e0ff0c381c228"}]]></conditionExpression>
<extensionElements>
<flowable:form viewcode="WFActionView"/>
</extensionElements>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="lid-C200-7d91ea888accfd711abbd6c10e7e1c46" sourceRef="tid-10-0d5239b54dcdea417a130288e7fb6712" targetRef="sid-b142478667ccdf074c7f4febbc60926f" name="审核不通过"> <sequenceFlow id="lid-C200-7d91ea888accfd711abbd6c10e7e1c46" sourceRef="tid-10-0d5239b54dcdea417a130288e7fb6712" targetRef="sid-b142478667ccdf074c7f4febbc60926f" name="审核不通过">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-7d91ea888accfd711abbd6c10e7e1c46"}]]></conditionExpression> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-7d91ea888accfd711abbd6c10e7e1c46"}]]></conditionExpression>
<extensionElements>
<flowable:form viewcode="WFActionView"/>
</extensionElements>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="rid-f8972fd7e173293795ab446a6da76773" sourceRef="sid-b142478667ccdf074c7f4febbc60926f" targetRef="sid-5b5b4cdf7fc99bbd46b9657e0e63aef6" name=""> <sequenceFlow id="rid-f8972fd7e173293795ab446a6da76773" sourceRef="sid-b142478667ccdf074c7f4febbc60926f" targetRef="sid-5b5b4cdf7fc99bbd46b9657e0e63aef6" name="">
</sequenceFlow> </sequenceFlow>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册