2020-09-07-x
Xplorist Lv6

2020-09-07

todo-list

  • 新产品开发系统整理在使用的模块和使用状况

record-list

  • 添加两个不用绑定IP的账号,一个MacI普通用户,一个没有任何权限
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

-- 查询权限表中最大id的下一个id
select (max(t.id) + 1) from INDIVIDUAL_AUTH t

-- 查询专案id
select t.id from PROJECT t where t.name = 'FlowTest'

-- 查询人员id
select t.id from ACCOUNT_BROKEN t where t.account_name = 'C3006113'

-- 将工号为C3006113人员添加到FlowTest专案的权限中
insert into INDIVIDUAL_AUTH t
(t.id, t.entity_uid, t.entitycreated, t.project_id, t.accountbroken_id)
values
(376556, sys_guid(), sysdate, '45754', '376673')


  • 给C3006113开通MacI普通用户权限,这样C3006113就是FlowTest的普通用户了

  • C3005882为没有任何权限的新用户

  • F1639229为管理员账号

  • 整理每个模块的数据表


专案下模块

模块 数据表 查询语句 最近数据(专案)
客户图档 FILE_MANAGE_CUSTOMFILE select t.* from FILE_MANAGE_CUSTOMFILE t order by t.createdate desc C98(成都) - 2020/9/5 14:11:32
会议记录 FILE_MANAGE_TOTALS(會議記錄, BOM, 客戶重要郵件) select t.* from FILE_MANAGE_TOTALS t where t.typeno = ‘會議記錄’ order by t.createdate desc X1780(成都) - 2020/9/7 10:25:25
partList FILE_PARTLIST select t.* from FILE_PARTLIST t order by t.createdate desc X1780(成都) - 2020/9/3 13:55:17
DOEList FILE_MANAGE_TOTAL(DOEList, MIL, DeviationList, MIP) select t.* from FILE_MANAGE_TOTAL t where t.typeno = ‘DOEList’ order by t.createdate desc X2067(成都) - 2020/6/1 8:50:11

阶段下模块

模块 数据表 查询语句 最近数据(专案-阶段)
BOM FILE_MANAGE_TOTALS(會議記錄, BOM, 客戶重要郵件) select t.* from FILE_MANAGE_TOTALS t where t.typeno = ‘BOM’ order by t.createdate desc X1984(成都) - EVT - 2020/9/5 9:29:49
MIP FILE_MANAGE_TOTAL(DOEList, MIL, DeviationList, MIP) select t.* from FILE_MANAGE_TOTAL t where t.typeno = ‘MIP’ order by t.createdate desc X1121(成都) - 2020/8/15 13:23:16
MIL FILE_MANAGE_TOTAL(DOEList, MIL, DeviationList, MIP) select t.* from FILE_MANAGE_TOTAL t where t.typeno = ‘MIL’ order by t.createdate desc X1323(成都) - Pre-EVT - 2019/3/25 10:15:50
SOP SOPX_BASE_INFO select * from SOPX_BASE_INFO t order by t.create_time desc X1780(成都) - EVT - 2020/9/5 16:32:16
标准成型条件 SMC_BASE_INFO select * from SMC_BASE_INFO t order by t.create_time desc X1844 - MP - 2020/9/4 17:22:51
客户重要邮件 FILE_MANAGE_TOTALS(會議記錄, BOM, 客戶重要郵件) select t.* from FILE_MANAGE_TOTALS t where t.typeno = ‘客戶重要郵件’ order by t.createdate desc X1433(成都) - EVT - 2019/2/27 10:00:01
Deviation List FILE_MANAGE_TOTAL(DOEList, MIL, DeviationList, MIP) select t.* from FILE_MANAGE_TOTAL t where t.typeno = ‘DeviationList’ order by t.createdate desc D301 - Proto - 2019/3/4 11:11:03
Flowchart FL_PRCSVER, FL_FPROCESS, FL_PARTFPROCESS 1. select t.* from FL_PRCSVER t order by t.createdate desc 2. select t., t.rowid from FL_FPROCESS t where t.lordprcsid = ‘AB189897B8D56A6EE050F40A5BE755C5’ 3. select t., t.rowid from FL_PARTFPROCESS t where t.p_id = ‘AB12B2B9223CAF08E050F40A5BE72D22’ MH2 - DVT - 2020/7/23 9:23:04
程式设计 PROGRAM_DESIGN_FILE select t.* from PROGRAM_DESIGN_FILE t order by t.create_date desc X1780(成都) - 2020/9/6 9:09:04
治具图档 MD_NEW_MOULD_MAIN select t.*, t.rowid from MD_NEW_MOULD_MAIN t order by t.create_date desc X2067(成都) - P1 - 2020/9/7 9:38:21

零件下模块

模块 数据表 查询语句 最近数据(专案-阶段-零件)
产品图档 FILE_PRODUCT_DOC select t.* from FILE_PRODUCT_DOC t where t.create_date is not null order by t.create_date desc X2067(成都) - POC - DWG,DH ASSY,RIB,DPOC,X2067(組立件613-16657) - 2020/9/7 9:32:11
制程图档 FILE_INFORMATION, RELATION_FILEINFO, PHASE_PART_RELATION, FILE_OBJECT 1. select cast(t.entitycreated as date) create_date, t.* from FILE_INFORMATION t order by t.entitycreated desc 2. select t., t.rowid from RELATION_FILEINFO t where t.fileinfo_id = ‘375852’ 3. select t., t.rowid from PHASE_PART_RELATION t where t.id = ‘360910’ 4. select cast(t.upload as date) create_date, t.* from FILE_OBJECT t where t.fileinfromation_id = ‘375852’ X2067(成都) - P1 - FLOW WALL,TUNNEL(塑件818-14323) - 2020/9/4 13:16:19
DFM评估 DFM_FILE select cast(t.createtime as date) create_time, t.* from DFM_FILE t order by t.createtime desc X1780(成都) - EVT - BV,L,5SIDED,GLUE, PLASTIC(塑件818-14025) - 2020/9/5 16:59:23
FAI/CPK评估报告 INSPECT_REPORT 1. select cast(t.entitycreated as date) create_date, t.* from INSPECT_REPORT t order by t.entitycreated desc 2. select t., t.rowid from RELATION_INSPECT_REPORT_INFO t where t.inspectreport_id = ‘284845’ 3. select t., t.rowid from PHASE_PART_RELATION t where t.id = ‘278891’ X1121(成都) - MP - X1121 RC Assembly(組立件613-13536) - 2020/3/19 13:58:45
其它检验报告 INSPECT_REPORT 1. select cast(t.entitycreated as date) create_date, t.* from INSPECT_REPORT t where t.reporttype = ‘OTH’ order by t.entitycreated desc 2. select t., t.rowid from RELATION_INSPECT_REPORT_INFO t where t.inspectreport_id = ‘39028’ 3. select t., t.rowid from PHASE_PART_RELATION t where t.id = ‘38921’ MAC-MINI - POC - test1(塑件818-04166-06) - 2018/4/11 9:58:25
Issue List ISSUE_LIST 1. select cast(t.entitycreated as date) create_date, t.* from ISSUE_LIST t order by t.entitycreated desc 2. select t., t.rowid from RELATION_ISSUE_LIST_INFO t where t.part_issue_id = ‘155551’ 3. select t., t.rowid from PHASE_PART_RELATION t where t.id = ‘137747’ X1323(成都) - Pre-EVT - DH(金屬件806-20140) - 2019/1/18 10:29:46
包装规范 PS_APPLY_MAIN select t.* from PS_APPLY_MAIN t order by t.create_date desc X1780(成都) - EVT1 - ENC,THICK HSG,X1780(金屬件806-28830) - 2020/9/7 14:42:22
RoHS ROHSINSPECT_REPORT 1. select cast(t.entitycreated as date) create_date, t.* from ROHSINSPECT_REPORT t order by t.entitycreated desc 2. select t., t.rowid from RELATION_ROHS_INSPECT t where t.rohsinspect_id = ‘284686’ 3. select t., t.rowid from PHASE_PART_RELATION t where t.id = ‘278869’ X1121(成都) - MP - DWG,ASSY,REAR COVER,ABS,X1121(組立件) - 2020/3/19 13:15:07
 评论
// variables $gt-color-main := #6190e8 $gt-color-sub := #a1a1a1 $gt-color-loader := #999999 $gt-color-error := #ff3860 $gt-color-hr := #e9e9e9 $gt-color-comment-txt := #333333 $gt-color-link-active := #333333 $gt-color-btn := #ffffff $gt-size-base := 16px // default font-size $gt-size-border-radius := 5px $gt-breakpoint-mobile := 479px $gt-mask-z-index := 9999 // functions & mixins clearfix() { &:before &:after { display table clear both content "" } } em($px, $base-size = $gt-size-base) { u = unit($px) if (u is 'px') { unit($px / $base-size, 'em') } else { unit($px, u) } } mobile() { @media (max-width $gt-breakpoint-mobile) { {block} } } // variables - calculated $gt-size-loader-dot := em(6px) $gt-size-loader := em(28px) $gt-size-avatar := em(50px) $gt-size-avatar-mobi := em(32px) // styles // Put everything under container to avoid style conflicts .comments-container { .gt-container { box-sizing border-box * { box-sizing border-box } font-size $gt-size-base // common a { color $gt-color-main &:hover { color lighten($gt-color-main, 20%) border-color lighten($gt-color-main, 20%) } &.is--active { color $gt-color-link-active cursor default !important &:hover { color $gt-color-link-active } } } .hide { display none !important } // icons .gt-svg { display inline-block width em(16px) height em(16px) vertical-align sub svg { width 100% height 100% fill $gt-color-main } } .gt-ico { display inline-block &-text { margin-left em(5px) } &-github { width 100% height 100% .gt-svg { width 100% height 100% } svg { fill inherit } } } // loader .gt-spinner { position relative &::before { position absolute top 3px box-sizing border-box width em(12px) height em(12px) margin-top em(-3px) margin-left em(-6px) border 1px solid $gt-color-btn border-top-color $gt-color-main border-radius 50% animation gt-kf-rotate 0.6s linear infinite content '' } } .gt-loader { position relative display inline-block width $gt-size-loader height $gt-size-loader font-style normal // font-size: $gt-size-loader line-height $gt-size-loader border 1px solid $gt-color-loader border-radius 50% animation ease gt-kf-rotate 1.5s infinite &:before { position absolute top 0 left 50% display block width $gt-size-loader-dot height $gt-size-loader-dot margin-top -($gt-size-loader-dot / 2) margin-left -($gt-size-loader-dot / 2) background-color $gt-color-loader border-radius 50% content '' } } // avatar .gt-avatar { display inline-block width $gt-size-avatar height $gt-size-avatar +mobile() { width $gt-size-avatar-mobi height $gt-size-avatar-mobi } img { width 100% height auto border-radius 3px } &-github { width $gt-size-avatar - em(2px) height $gt-size-avatar - em(2px) cursor pointer +mobile() { width $gt-size-avatar-mobi - em(2px) height $gt-size-avatar-mobi - em(2px) } } } // button .gt-btn { display inline-block padding em(12px) em(20px) color $gt-color-btn font-size em(12px) line-height 1 white-space nowrap text-decoration none background-color $gt-color-main border 1px solid $gt-color-main border-radius $gt-size-border-radius outline none cursor pointer &-text { font-weight 400 } &-loading { position relative display inline-block width em(12px) height em(16px) margin-left em(8px) vertical-align top } &.is--disable { cursor not-allowed opacity 0.5 } &-login { margin-right 0 } &-preview { color $gt-color-main background-color var(--background-color) &:hover { background-color var(--second-background-color) } } &-public { &:hover { background-color lighten($gt-color-main, 20%) border-color lighten($gt-color-main, 20%) } } } } &-loadmore // loadmore /* error */ .gt-error { margin em(10px) color $gt-color-error text-align center } // initing .gt-initing { padding em(20px) 0 text-align center &-text { margin em(10px) auto font-size 92% } } // no int .gt-no-init { padding em(20px) 0 text-align center } // link .gt-link { border-bottom 1px dotted $gt-color-main &-counts &-project { text-decoration none } } // meta .gt-meta { position relative z-index 10 margin em(20px) 0 padding em(16px) 0 font-size em(16px) border-bottom 1px solid $gt-color-hr clearfix() } .gt-counts { margin 0 em(10px) 0 0 color var(--default-text-color) } .gt-user { float right margin 0 font-size 92% &-pic { width 16px height 16px margin-right em(8px) vertical-align top } &-inner { display inline-block cursor pointer .gt-user-name { color var(--default-text-color) } } .gt-ico { margin 0 0 0 em(5px) svg { fill var(--default-text-color) } } .is--poping { .gt-ico { svg { fill $gt-color-main } } } } .gt-version { margin-left em(6px) color $gt-color-sub } .gt-copyright { margin 0 em(15px) em(8px) padding-top em(8px) border-top 1px solid var(--border-color) } // popup .gt-popup { position absolute top em(38px) right 0 display inline-block padding em(10px) 0 font-size em(14px) letter-spacing 0.5px background var(--background-color) border 1px solid var(--border-color) .gt-action { position relative display block margin em(8px) 0 padding 0 em(18px) text-decoration none cursor pointer &.is--active { &:before { position absolute top em(7px) left em(8px) width em(4px) height em(4px) background $gt-color-main content '' } } } } // header .gt-header { position relative display flex &-comment { flex 1 margin-left em(20px) +mobile() { margin-left em(14px) } } &-textarea { display block box-sizing border-box width 100% min-height em(82px) max-height em(240px) padding em(12px) color var(--default-text-color) font-size em(14px) word-wrap break-word background-color var(--fourth-text-color) border 1px solid var(--border-color) border-radius $gt-size-border-radius outline none transition all 0.25s ease resize vertical &:hover { background-color var(--background-color) } } &-preview { padding em(12px) background-color var(--background-color) border 1px solid var(--border-color) border-radius $gt-size-border-radius } &-controls { position relative margin em(12px) 0 0 clearfix() +mobile() { margin 0 } &-tip { color $gt-color-main font-size em(14px) text-decoration none vertical-align sub +mobile() { display none } } .gt-btn { float right margin-left em(20px) +mobile() { float none width 100% margin em(12px) 0 0 } } } } &:after { position fixed top 0 right 0 bottom 100% left 0 opacity 0 content '' } &.gt-input-focused { position relative &:after { position fixed top 0 right 0 bottom 0 left 0 z-index $gt-mask-z-index background #000 opacity 0.6 transition opacity 0.3s, bottom 0s content '' } .gt-header-comment { z-index $gt-mask-z-index + 1 } } // comments .gt-comments { padding-top em(20px) &-null { text-align center } &-controls { margin em(20px) 0 text-align center } } // comment .gt-comment { position relative display flex padding em(10px) 0 &-content { flex 1 margin-left em(20px) padding em(12px) em(16px) overflow auto background-color var(--second-background-color) transition all ease 0.25s +mobile() { margin-left em(14px) padding em(10px) em(12px) } } &-header { position relative margin-bottom em(8px) font-size em(14px) } &-block-1 { float right width em(32px) height em(22px) } &-block-2 { float right width em(64px) height em(22px) } &-username { color $gt-color-main font-weight 500 text-decoration none &:hover { text-decoration underline } } &-text { margin-left em(8px) color $gt-color-sub } &-date { margin-left em(8px) color $gt-color-sub } &-like &-edit &-reply { position absolute height em(22px) &:hover { cursor pointer } } &-like { top 0 right em(32px) } &-edit &-reply { top 0 right 0 } &-body { // color: $gt-color-comment-txt !important color var(--second-text-color) !important .email-hidden-toggle a { display inline-block height 12px padding 0 9px color #444d56 font-weight 600 font-size 12px line-height 6px text-decoration none vertical-align middle background #dfe2e5 border-radius 1px &:hover { background-color #c6cbd1 } } .email-hidden-reply { display none white-space pre-wrap .email-signature-reply { margin 15px 0 padding 0 15px color #586069 border-left 4px solid #dfe2e5 } } .email-hidden-reply.expanded { display block } } &-admin { .gt-comment-content { background-color var(--fourth-text-color) } } } @keyframes gt-kf-rotate { 0% { transform rotate(0) } 100% { transform rotate(360deg) } } }