| | |
| | | HELP.md |
| | | target/ |
| | | /pms-global.iml |
| | | !.mvn/wrapper/maven-wrapper.jar |
| | | !**/src/main/**/target/ |
| | | !**/src/test/**/target/ |
| | | |
| | | ### STS ### |
| | | .apt_generated |
| | | .classpath |
| | | .factorypath |
| | | .project |
| | | .settings |
| | | .springBeans |
| | | .sts4-cache |
| | | |
| | | ### IntelliJ IDEA ### |
| | | .idea |
| | | *.iws |
| | | *.iml |
| | | *.ipr |
| | | |
| | | ### NetBeans ### |
| | | /nbproject/private/ |
| | | /nbbuild/ |
| | | /dist/ |
| | | /nbdist/ |
| | | /.nb-gradle/ |
| | | build/ |
| | | !**/src/main/**/build/ |
| | | !**/src/test/**/build/ |
| | | |
| | | ### VS Code ### |
| | | .vscode/ |
| | |
| | | |
| | | @AfterReturning(pointcut = "@annotation(com.dy.pmsGlobal.aop.Log)", returning = "result") |
| | | public void logAfterReturning(JoinPoint joinPoint, BaseResponse result) { |
| | | log.error(result.toString()); |
| | | if(isDevStage != null && !isDevStage.trim().equals("") && isDevStage.trim().equalsIgnoreCase("true")){ |
| | | return; |
| | | } |
| | |
| | | // Stream.of(joinPoint.getArgs()).forEach(System.out::println); |
| | | // String args = JSONObject.toJSONString(joinPoint.getArgs()); |
| | | //String args1 = Arrays.toString(joinPoint.getArgs()); |
| | | logSv.save(user.id,user.name, operationName,ip,result.getCode(),result.getMsg()); |
| | | logSv.save(user.id, user.name, operationName,ip, result.getCode(), result.getMsg()); |
| | | } |
| | | }catch (Exception e){ |
| | | log.error(result.toString()); |
| | |
| | | package com.dy.pmsGlobal.daoBa; |
| | | |
| | | import com.dy.pmsGlobal.pojoBa.BaUser; |
| | | import com.dy.pmsGlobal.pojoPlt.PltStation; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | ///////////////////////////////////////////// |
| | | //æ è¯ç¼ç // |
| | | ///////////////////////////////////////////// |
| | | public static final String MarkOk = "102001" ; //ç¡®å®ï¼æ§è¡ç¡®å®æä½ï¼ä¾å¦æäº¤æ°æ® |
| | | public static final String MarkCancel = "102002" ; //åæ¶ï¼åæ¶æäº¤æä½ |
| | | public static final String MarkRevoke = "102003" ; //æ¤éï¼å¯¹å·²æäº¤ç设å¤ä¿¡æ¯è¿è¡æ¤é |
| | | public static final String MarkUnqualified = "102004" ; //ä¸åæ ¼ï¼è®¾å¤ç产è¿ç¨ä¸åç°æ¬å·¥ç«ç产ä¸åæ ¼ï¼è¦æ±è¿è¡ç»´ä¿®çå¤ç |
| | | public static final String MarkPreUnqualified = "102005" ; //ä¸ä½ä¸åæ ¼ï¼è®¾å¤ç产è¿ç¨ä¸åç°ä¸ä½å·¥ç«ç产ä¸åæ ¼ |
| | | public static final String MarkWaste = "102006" ; //åºåï¼è®¾å¤ç产è¿ç¨ä¸æä¸ºåºåï¼å®ä¸ºåºå¼äºè¯¥è®¾å¤ç¼ç åé¨åé
ä»¶ |
| | | public static final String MarkLogout = "102007" ; //注éï¼ç产ä½ä¸äººåå¨çäº§åæ³¨éå·¥ç«ç»å® |
| | | public static final String MarkQualified = "102008" ; //åæ ¼ï¼è®¾å¤ç产è¿ç¨ä¸æ¬å·¥ç«çäº§åæ ¼ |
| | | public static final String MarkReset = "102009" ; //éç½®ï¼å端æ¸
ç¼åä½¿ç¨ |
| | | public static final String MarkSchedule = "102010" ; //æçè¡¨ï¼æ«æåºæç表 |
| | | public static final String MarkOk = TypeMark + "102001" ; //ç¡®å®ï¼æ§è¡ç¡®å®æä½ï¼ä¾å¦æäº¤æ°æ® |
| | | public static final String MarkCancel = TypeMark + "102002" ; //åæ¶ï¼åæ¶æäº¤æä½ |
| | | public static final String MarkRevoke = TypeMark + "102003" ; //æ¤éï¼å¯¹å·²æäº¤ç设å¤ä¿¡æ¯è¿è¡æ¤é |
| | | public static final String MarkUnqualified = TypeMark + "102004" ; //ä¸åæ ¼ï¼è®¾å¤ç产è¿ç¨ä¸åç°æ¬å·¥ç«ç产ä¸åæ ¼ï¼è¦æ±è¿è¡ç»´ä¿®çå¤ç |
| | | public static final String MarkPreUnqualified = TypeMark + "102005" ; //ä¸ä½ä¸åæ ¼ï¼è®¾å¤ç产è¿ç¨ä¸åç°ä¸ä½å·¥ç«ç产ä¸åæ ¼ |
| | | public static final String MarkWaste = TypeMark + "102006" ; //åºåï¼è®¾å¤ç产è¿ç¨ä¸æä¸ºåºåï¼å®ä¸ºåºå¼äºè¯¥è®¾å¤ç¼ç åé¨åé
ä»¶ |
| | | public static final String MarkLogout = TypeMark + "102007" ; //注éï¼ç产ä½ä¸äººåå¨çäº§åæ³¨éå·¥ç«ç»å® |
| | | public static final String MarkQualified = TypeMark + "102008" ; //åæ ¼ï¼è®¾å¤ç产è¿ç¨ä¸æ¬å·¥ç«çäº§åæ ¼ |
| | | public static final String MarkReset = TypeMark + "102009" ; //éç½®ï¼å端æ¸
ç¼åä½¿ç¨ |
| | | public static final String MarkSchedule = TypeMark + "102010" ; //æçè¡¨ï¼æ«æåºæç表 |
| | | |
| | | public static final int MarkQrCodeWidth = 300 ; |
| | | public static final int MarkQrCodeHeight = 300 ; |
New file |
| | |
| | | pmsGl: |
| | | #æ¬æºå¼åç¯å¢ï¼ 127.0.0.1:3306 |
| | | #æµè¯æå¡å¨å¼åç¯å¢ï¼ 192.168.40.80:3306 |
| | | #äºæå¡203ï¼ 127.0.0.1:63306 |
| | | mySqlSvUrl: 127.0.0.1:63306 |
| | | #æ¬æºåæµè¯æå¡å¨å¼åç¯å¢ï¼ E:/java/nginx-1.24.0/html/webfiles/ |
| | | #äºæå¡203ï¼ D:/apps/pms/nginx-1.24.0/html/webfiles/ |
| | | webFileAbsolutePath: D:/apps/pms/nginx-1.24.0/html/webfiles/ |
| | | #webæä»¶æ¾ç¤ºä¸ä¸è½½IP |
| | | #æ¬æºå¼åç¯å¢ï¼ 127.0.0.1 |
| | | #æµè¯æå¡å¨å¼åç¯å¢ï¼ 192.168.40.80 |
| | | #äºæå¡203ï¼ 8.130.75.203 |
| | | webFileIp4Client: 8.130.75.203 |
| | | #è¾åºsqlæ¥å¿å¼å
³ï¼æ§å¶PrintSqlInterceptoræ¦æªå¨æ¯å¦å è½½ |
| | | showSqlLog: false |
| | | #æ¯å¦å¼åé¶æ®µï¼trueæfalseï¼å¼åé¶æ®µä¸è¿è¡ç»å½éªè¯åæééªè¯ |
| | | isDev: false |
| | | spring: |
| | | devtools: |
| | | livereload: |
| | | enabled: false |
| | | restart: |
| | | enabled: false #ç¦ç¨çé¨ç½² |
| | | servlet: |
| | | multipart: |
| | | # å端ä¸ä¼ æä»¶ï¼éå¶å个æä»¶ç大å°åéå¶æææä»¶çå¤§å° |
| | | max-file-size: 500MB |
| | | max-request-size: 5000MB |
| | | main: |
| | | allow-circular-references: true |
| | | logging: |
| | | charset: |
| | | console: UTF-8 |
| | | config: |
| | | classpath: log4j2.yml |
| | | #ç¦ç¨ç½æ éè¯¯é¡µé¢ |
| | | server: |
| | | error: |
| | | whitelabel: |
| | | enabled: false |
| | | #servleté
ç½® |
| | | servlet: |
| | | encoding: |
| | | #åæ¶é»è®¤çå符éç¼ç |
| | | enabled: true |
| | | #设置强å¶ä½¿ç¨æå®å符ç¼ç é |
| | | force: true |
| | | #使ç¨çå符ç¼ç |
| | | charset: utf-8 |
| | | |
| | | #MybatisPlus é
ç½®æ¥å¿æ¾ç¤ºæ§è¡SQL |
| | | mybatis-plus: |
| | | #å¹é
sqlè¯å¥çæ å°æä»¶çä½ç½®ï¼classpath代表å¨resourcesä¸ |
| | | mapper-locations: classpath:mapper/*.xml |
| | | #以ä¸ä¸¤ä¸ªé
ç½®å¯ä»¥çç¥ï¼å¨mapperæ å°æä»¶ä¸é
ç½®â@Mapperâ乿¯å¯ä»¥çã |
| | | #使ç¨type-aliases-package䏿å®entityæ«æå
è·¯å¾ï¼è®©mybatisèªå¨æ«æèªå®ä¹çentity |
| | | #type-aliases-package: com.dy.pmsGlobal.daoBa |
| | | configuration: |
| | | #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #æ¶èè¾åºæ¥å¿ï¼æ¶èä¸è¾åºæ¥å¿ |
| | | #log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl ä¸ååºç¨ï¼æ¹ä¸ºPrintSqlInterceptoræ¦æªå¨è¾åºsqlæ¥å¿ï¼ä¸é¢print-sql项é
ç½® |
| | | print-sql: ${pmsGl.showSqlLog} # è¾åºsqlæ¥å¿å¼å
³ï¼æ§å¶PrintSqlInterceptoræ¦æªå¨æ¯å¦å è½½ |
| | | #å¼å¯é©¼å³°uNameèªå¨æ å°å°u_name |
| | | #2023-10-24ç»å®éªï¼ä¸é¢é
ç½®trueæfalseï¼é½è½ä»u_nameæ å°å°uName |
| | | #map-underscore-to-camel-case: true |
| | | lazyLoadingEnabled: true # å¼å¯å»¶æ¶å è½½å¼å
³ |
| | | aggressiveLazyLoading: false # å°ç§¯æå è½½æ¹ä¸ºæ¶æå è½½ï¼å³æéå è½½ï¼ï¼é»è®¤å¼æ¯false |
| | | lazy-load-trigger-methods: "" # 黿¡ä¸ç¸å¹²çæä½è§¦åï¼å®ç°æå è½½ |
| | | cache-enabled: true #æå¼å
¨å±ç¼åå¼å
³ï¼äºçº§ç¯å¢ï¼ï¼é»è®¤å¼æ¯true+ |
| | | #default-enum-type-handler: com.dy.common.mybatis.envm.EnumCodeTypeHandler |
| | | |
| | | dingtalk: |
| | | robot: |
| | | url: https://oapi.dingtalk.com/robot/send |
| | | access-token: 5004482dce6b24d0e1e655b8e4376a6418cfcebce17ff792d0e68cbb63d6eb5b |
| | | secret: SEC985ad412f35ece68bb239cad88b6fba59b19461dd8d067e80fafa1270d6ab465 |
| | | at-all: true |
| | | #ä¸è¿è¡userTokenè¿æ»¤çURLï¼@ConfigurationPropertiesè¦æ±tokennofilter䏿æåæ¯é½å°å |
| | | tokennofilter: |
| | | urls: |
| | | - /sso/sso |
| | | - /production/schedule/selectAll #æ¥è¯¢æææç,触å±ç«¯ä½¿ç¨ä¸éªè¯token |
| | | pms: |
| | | global: |
| | | dev: ${pmsGl.isDev} #æ¯å¦å¼åé¶æ®µï¼trueæfalseï¼å¼åé¶æ®µä¸è¿è¡ç»å½éªè¯åæééªè¯ |
| | | ssoUserExpireAfterAccess: 60 #ssoç»å½åï¼ç¨æ·å¨ä¸å®æ¶é´ï¼ssoUserExpireAfterAccessï¼ï¼åéï¼å
æªè®¿é®ç³»ç»ï¼ç³»ç»æ¸
é¤ç¼åä¿¡æ¯ï¼ä½¿å
¶éæ°ç»å½ç³»ç» |
| | | ssoCacheSizeInit: 10 #ssoç¼ååå§å®¹é |
| | | ssoCacheSizeMax: 10000 #ssoç¼åæå¤§å®¹éï¼å³æ¯æssoCacheSizeMaxä¸ªç¨æ·åæ¶ç»å½ |
| | | nginx: |
| | | webPort: 8000 |
| | | sso: |
| | | checkUrl: http://127.0.0.1:12344/sso/sso/ssoPowerCheck |
| | | curUserUrl: http://127.0.0.1:12344/sso/sso/ssoCurUser |
| | | webPort: 12344 |
| | | idSuffix: 1 |
| | | base: |
| | | webPort: 12345 |
| | | idSuffix: 2 |
| | | platform: |
| | | webPort: 12346 |
| | | idSuffix: 3 |
| | | production: |
| | | webPort: 12347 |
| | | idSuffix: 4 |
| | | other: |
| | | webPort: 12348 |
| | | idSuffix: 5 |
| | | station: |
| | | webPort: 12349 |
| | | idSuffix: 6 |
| | | report: |
| | | webPort: 12350 |
| | | idSuffix: 7 |
| | | wechat: |
| | | webPort: 12351 |
| | | idSuffix: 8 |
| | | file: |
| | | idSuffix: 99 |
| | | file1: |
| | | webPort: 12380 |
| | | file2: |
| | | webPort: 12380 |
| | | file3: |
| | | webPort: 12380 |
| | | file4: |
| | | webPort: 12380 |
| | | file5: |
| | | webPort: 12380 |
| | | file6: |
| | | webPort: 12380 |
| | | file7: |
| | | webPort: 12380 |
| | | file8: |
| | | webPort: 12380 |
| | | file9: |
| | | webPort: 12380 |
| | | file10: |
| | | webPort: 12380 |
| | | file11: |
| | | webPort: 12380 |
| | | file12: |
| | | webPort: 12380 |
| | | |
| | | #webåå¸å¼æä»¶ç³»ç» |
| | | dy: |
| | | webFileAbsolutePath: ${pmsGl.webFileAbsolutePath} |
| | | photoZipWidth: 400 #缩ç¥å¾å°ºå¯¸ |
| | | webFile: |
| | | fmUrl: http://127.0.0.1:${pms.other.webPort}/other # fmçwebä¸ä¸æ URL |
| | | supportedFileTypes: docx,xlsx,doc,xls,pdf #æ¯æçææ¡£ï¼éåªä½æä»¶ï¼å¦ç
§çãå½é³ãå½åï¼æä»¶ç±»å |
| | | sv1: |
| | | id: dyFile1 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile1 |
| | | hashStart: 0 |
| | | hashEnd: 5461 |
| | | restUrl: http://127.0.0.1:${pms.file1.webPort}/file #fileæ¯ä¸ä¸æ,ip为å±åç½ipææ¬å°IP |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ #nginxæå¡è·¯å¾,å®è£
é¨ç½²æ¶IPæ¹æå¤ç½IPæåå |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file1.webPort}/file/download/down?id= #å®è£
é¨ç½²æ¶IPæ¹æå¤ç½IPæåå |
| | | sv2: |
| | | id: dyFile2 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile2 |
| | | hashStart: 5462 |
| | | hashEnd: 10923 |
| | | restUrl: http://127.0.0.1:${pms.file2.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file2.webPort}/file/download/down?id= |
| | | sv3: |
| | | id: dyFile3 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile3 |
| | | hashStart: 10924 |
| | | hashEnd: 16385 |
| | | restUrl: http://127.0.0.1:${pms.file3.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file3.webPort}/file/download/down?id= |
| | | sv4: |
| | | id: dyFile4 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile4 |
| | | hashStart: 16386 |
| | | hashEnd: 21847 |
| | | restUrl: http://127.0.0.1:${pms.file4.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file4.webPort}/file/download/down?id= |
| | | sv5: |
| | | id: dyFile5 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile5 |
| | | hashStart: 21848 |
| | | hashEnd: 27309 |
| | | restUrl: http://127.0.0.1:${pms.file5.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file5.webPort}/file/download/down?id= |
| | | sv6: |
| | | id: dyFile6 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile6 |
| | | hashStart: 27310 |
| | | hashEnd: 32767 |
| | | restUrl: http://127.0.0.1:${pms.file6.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file6.webPort}/file/download/down?id= |
| | | sv7: |
| | | id: dyFile7 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile7 |
| | | hashStart: 32768 |
| | | hashEnd: 38229 |
| | | restUrl: http://127.0.0.1:${pms.file7.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file7.webPort}/file/download/down?id= |
| | | sv8: |
| | | id: dyFile8 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile8 |
| | | hashStart: 38230 |
| | | hashEnd: 43691 |
| | | restUrl: http://127.0.0.1:${pms.file8.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file8.webPort}/file/download/down?id= |
| | | sv9: |
| | | id: dyFile9 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile9 |
| | | hashStart: 43692 |
| | | hashEnd: 49153 |
| | | restUrl: http://127.0.0.1:${pms.file9.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file9.webPort}/file/download/down?id= |
| | | sv10: |
| | | id: dyFile10 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile10 |
| | | hashStart: 49154 |
| | | hashEnd: 54615 |
| | | restUrl: http://127.0.0.1:${pms.file10.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file10.webPort}/file/download/down?id= |
| | | sv11: |
| | | id: dyFile11 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile11 |
| | | hashStart: 54616 |
| | | hashEnd: 60077 |
| | | restUrl: http://127.0.0.1:${pms.file11.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file11.webPort}/file/download/down?id= |
| | | sv12: |
| | | id: dyFile12 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile12 |
| | | hashStart: 60078 |
| | | hashEnd: 65535 |
| | | restUrl: http://127.0.0.1:${pms.file12.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file12.webPort}/file/download/down?id= |
New file |
| | |
| | | pmsGl: |
| | | #æ¬æºå¼åç¯å¢ï¼ 127.0.0.1:3306 |
| | | #æµè¯æå¡å¨å¼åç¯å¢ï¼ 192.168.40.80:3306 |
| | | #äºæå¡203ï¼ 127.0.0.1:63306 |
| | | mySqlSvUrl: 192.168.40.80:3306 |
| | | #æ¬æºåæµè¯æå¡å¨å¼åç¯å¢ï¼ E:/java/nginx-1.24.0/html/webfiles/ |
| | | #äºæå¡203ï¼ D:/apps/pms/nginx-1.24.0/html/webfiles/ |
| | | webFileAbsolutePath: E:/java/nginx-1.24.0/html/webfiles/ |
| | | #webæä»¶æ¾ç¤ºä¸ä¸è½½IP |
| | | #æ¬æºå¼åç¯å¢ï¼ 127.0.0.1 |
| | | #æµè¯æå¡å¨å¼åç¯å¢ï¼ 192.168.40.80 |
| | | #äºæå¡203ï¼ 8.130.75.203 |
| | | webFileIp4Client: 192.168.40.80 |
| | | #è¾åºsqlæ¥å¿å¼å
³ï¼æ§å¶PrintSqlInterceptoræ¦æªå¨æ¯å¦å è½½ |
| | | showSqlLog: true |
| | | #æ¯å¦å¼åé¶æ®µï¼trueæfalseï¼å¼åé¶æ®µä¸è¿è¡ç»å½éªè¯åæééªè¯ |
| | | isDev: false |
| | | spring: |
| | | devtools: |
| | | livereload: |
| | | enabled: false |
| | | restart: |
| | | enabled: false #ç¦ç¨çé¨ç½² |
| | | servlet: |
| | | multipart: |
| | | # å端ä¸ä¼ æä»¶ï¼éå¶å个æä»¶ç大å°åéå¶æææä»¶çå¤§å° |
| | | max-file-size: 500MB |
| | | max-request-size: 5000MB |
| | | main: |
| | | allow-circular-references: true |
| | | logging: |
| | | charset: |
| | | console: UTF-8 |
| | | config: |
| | | classpath: log4j2.yml |
| | | #ç¦ç¨ç½æ éè¯¯é¡µé¢ |
| | | server: |
| | | error: |
| | | whitelabel: |
| | | enabled: false |
| | | #servleté
ç½® |
| | | servlet: |
| | | encoding: |
| | | #åæ¶é»è®¤çå符éç¼ç |
| | | enabled: true |
| | | #设置强å¶ä½¿ç¨æå®å符ç¼ç é |
| | | force: true |
| | | #使ç¨çå符ç¼ç |
| | | charset: utf-8 |
| | | |
| | | #MybatisPlus é
ç½®æ¥å¿æ¾ç¤ºæ§è¡SQL |
| | | mybatis-plus: |
| | | #å¹é
sqlè¯å¥çæ å°æä»¶çä½ç½®ï¼classpath代表å¨resourcesä¸ |
| | | mapper-locations: classpath:mapper/*.xml |
| | | #以ä¸ä¸¤ä¸ªé
ç½®å¯ä»¥çç¥ï¼å¨mapperæ å°æä»¶ä¸é
ç½®â@Mapperâ乿¯å¯ä»¥çã |
| | | #使ç¨type-aliases-package䏿å®entityæ«æå
è·¯å¾ï¼è®©mybatisèªå¨æ«æèªå®ä¹çentity |
| | | #type-aliases-package: com.dy.pmsGlobal.daoBa |
| | | configuration: |
| | | #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #æ¶èè¾åºæ¥å¿ï¼æ¶èä¸è¾åºæ¥å¿ |
| | | #log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl ä¸ååºç¨ï¼æ¹ä¸ºPrintSqlInterceptoræ¦æªå¨è¾åºsqlæ¥å¿ï¼ä¸é¢print-sql项é
ç½® |
| | | print-sql: ${pmsGl.showSqlLog} # è¾åºsqlæ¥å¿å¼å
³ï¼æ§å¶PrintSqlInterceptoræ¦æªå¨æ¯å¦å è½½ |
| | | #å¼å¯é©¼å³°uNameèªå¨æ å°å°u_name |
| | | #2023-10-24ç»å®éªï¼ä¸é¢é
ç½®trueæfalseï¼é½è½ä»u_nameæ å°å°uName |
| | | #map-underscore-to-camel-case: true |
| | | lazyLoadingEnabled: true # å¼å¯å»¶æ¶å è½½å¼å
³ |
| | | aggressiveLazyLoading: false # å°ç§¯æå è½½æ¹ä¸ºæ¶æå è½½ï¼å³æéå è½½ï¼ï¼é»è®¤å¼æ¯false |
| | | lazy-load-trigger-methods: "" # 黿¡ä¸ç¸å¹²çæä½è§¦åï¼å®ç°æå è½½ |
| | | cache-enabled: true #æå¼å
¨å±ç¼åå¼å
³ï¼äºçº§ç¯å¢ï¼ï¼é»è®¤å¼æ¯true+ |
| | | #default-enum-type-handler: com.dy.common.mybatis.envm.EnumCodeTypeHandler |
| | | |
| | | dingtalk: |
| | | robot: |
| | | url: https://oapi.dingtalk.com/robot/send |
| | | access-token: 5004482dce6b24d0e1e655b8e4376a6418cfcebce17ff792d0e68cbb63d6eb5b |
| | | secret: SEC985ad412f35ece68bb239cad88b6fba59b19461dd8d067e80fafa1270d6ab465 |
| | | at-all: true |
| | | #ä¸è¿è¡userTokenè¿æ»¤çURLï¼@ConfigurationPropertiesè¦æ±tokennofilter䏿æåæ¯é½å°å |
| | | tokennofilter: |
| | | urls: |
| | | - /sso/sso |
| | | - /production/schedule/selectAll #æ¥è¯¢æææç,触å±ç«¯ä½¿ç¨ä¸éªè¯token |
| | | pms: |
| | | global: |
| | | dev: ${pmsGl.isDev} #æ¯å¦å¼åé¶æ®µï¼trueæfalseï¼å¼åé¶æ®µä¸è¿è¡ç»å½éªè¯åæééªè¯ |
| | | ssoUserExpireAfterAccess: 60 #ssoç»å½åï¼ç¨æ·å¨ä¸å®æ¶é´ï¼ssoUserExpireAfterAccessï¼ï¼åéï¼å
æªè®¿é®ç³»ç»ï¼ç³»ç»æ¸
é¤ç¼åä¿¡æ¯ï¼ä½¿å
¶éæ°ç»å½ç³»ç» |
| | | ssoCacheSizeInit: 10 #ssoç¼ååå§å®¹é |
| | | ssoCacheSizeMax: 10000 #ssoç¼åæå¤§å®¹éï¼å³æ¯æssoCacheSizeMaxä¸ªç¨æ·åæ¶ç»å½ |
| | | nginx: |
| | | webPort: 8000 |
| | | sso: |
| | | checkUrl: http://127.0.0.1:12344/sso/sso/ssoPowerCheck |
| | | curUserUrl: http://127.0.0.1:12344/sso/sso/ssoCurUser |
| | | webPort: 12344 |
| | | idSuffix: 1 |
| | | base: |
| | | webPort: 12345 |
| | | idSuffix: 2 |
| | | platform: |
| | | webPort: 12346 |
| | | idSuffix: 3 |
| | | production: |
| | | webPort: 12347 |
| | | idSuffix: 4 |
| | | other: |
| | | webPort: 12348 |
| | | idSuffix: 5 |
| | | station: |
| | | webPort: 12349 |
| | | idSuffix: 6 |
| | | report: |
| | | webPort: 12350 |
| | | idSuffix: 7 |
| | | wechat: |
| | | webPort: 12351 |
| | | idSuffix: 8 |
| | | file: |
| | | idSuffix: 99 |
| | | file1: |
| | | webPort: 12380 |
| | | file2: |
| | | webPort: 12380 |
| | | file3: |
| | | webPort: 12380 |
| | | file4: |
| | | webPort: 12380 |
| | | file5: |
| | | webPort: 12380 |
| | | file6: |
| | | webPort: 12380 |
| | | file7: |
| | | webPort: 12380 |
| | | file8: |
| | | webPort: 12380 |
| | | file9: |
| | | webPort: 12380 |
| | | file10: |
| | | webPort: 12380 |
| | | file11: |
| | | webPort: 12380 |
| | | file12: |
| | | webPort: 12380 |
| | | |
| | | #webåå¸å¼æä»¶ç³»ç» |
| | | dy: |
| | | webFileAbsolutePath: ${pmsGl.webFileAbsolutePath} |
| | | photoZipWidth: 400 #缩ç¥å¾å°ºå¯¸ |
| | | webFile: |
| | | fmUrl: http://127.0.0.1:${pms.other.webPort}/other # fmçwebä¸ä¸æ URL |
| | | supportedFileTypes: docx,xlsx,doc,xls,pdf #æ¯æçææ¡£ï¼éåªä½æä»¶ï¼å¦ç
§çãå½é³ãå½åï¼æä»¶ç±»å |
| | | sv1: |
| | | id: dyFile1 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile1 |
| | | hashStart: 0 |
| | | hashEnd: 5461 |
| | | restUrl: http://127.0.0.1:${pms.file1.webPort}/file #fileæ¯ä¸ä¸æ,ip为å±åç½ipææ¬å°IP |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ #nginxæå¡è·¯å¾,å®è£
é¨ç½²æ¶IPæ¹æå¤ç½IPæåå |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file1.webPort}/file/download/down?id= #å®è£
é¨ç½²æ¶IPæ¹æå¤ç½IPæåå |
| | | sv2: |
| | | id: dyFile2 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile2 |
| | | hashStart: 5462 |
| | | hashEnd: 10923 |
| | | restUrl: http://127.0.0.1:${pms.file2.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file2.webPort}/file/download/down?id= |
| | | sv3: |
| | | id: dyFile3 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile3 |
| | | hashStart: 10924 |
| | | hashEnd: 16385 |
| | | restUrl: http://127.0.0.1:${pms.file3.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file3.webPort}/file/download/down?id= |
| | | sv4: |
| | | id: dyFile4 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile4 |
| | | hashStart: 16386 |
| | | hashEnd: 21847 |
| | | restUrl: http://127.0.0.1:${pms.file4.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file4.webPort}/file/download/down?id= |
| | | sv5: |
| | | id: dyFile5 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile5 |
| | | hashStart: 21848 |
| | | hashEnd: 27309 |
| | | restUrl: http://127.0.0.1:${pms.file5.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file5.webPort}/file/download/down?id= |
| | | sv6: |
| | | id: dyFile6 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile6 |
| | | hashStart: 27310 |
| | | hashEnd: 32767 |
| | | restUrl: http://127.0.0.1:${pms.file6.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file6.webPort}/file/download/down?id= |
| | | sv7: |
| | | id: dyFile7 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile7 |
| | | hashStart: 32768 |
| | | hashEnd: 38229 |
| | | restUrl: http://127.0.0.1:${pms.file7.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file7.webPort}/file/download/down?id= |
| | | sv8: |
| | | id: dyFile8 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile8 |
| | | hashStart: 38230 |
| | | hashEnd: 43691 |
| | | restUrl: http://127.0.0.1:${pms.file8.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file8.webPort}/file/download/down?id= |
| | | sv9: |
| | | id: dyFile9 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile9 |
| | | hashStart: 43692 |
| | | hashEnd: 49153 |
| | | restUrl: http://127.0.0.1:${pms.file9.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file9.webPort}/file/download/down?id= |
| | | sv10: |
| | | id: dyFile10 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile10 |
| | | hashStart: 49154 |
| | | hashEnd: 54615 |
| | | restUrl: http://127.0.0.1:${pms.file10.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file10.webPort}/file/download/down?id= |
| | | sv11: |
| | | id: dyFile11 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile11 |
| | | hashStart: 54616 |
| | | hashEnd: 60077 |
| | | restUrl: http://127.0.0.1:${pms.file11.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file11.webPort}/file/download/down?id= |
| | | sv12: |
| | | id: dyFile12 |
| | | absolutePath: ${pmsGl.webFileAbsolutePath} |
| | | relativePath: webFile12 |
| | | hashStart: 60078 |
| | | hashEnd: 65535 |
| | | restUrl: http://127.0.0.1:${pms.file12.webPort}/file |
| | | webUrl: http://${pmsGl.webFileIp4Client}:${pms.nginx.webPort}/webfiles/ |
| | | webDownloadPath: http://${pmsGl.webFileIp4Client}:${pms.file12.webPort}/file/download/down?id= |
| | |
| | | tokennofilter: |
| | | urls: |
| | | - /sso/sso |
| | | - /production/schedule/selectAll #æ¥è¯¢æææç,触å±ç«¯ä½¿ç¨ä¸éªè¯token |
| | | pms: |
| | | global: |
| | | dev: ${pmsGl.isDev} #æ¯å¦å¼åé¶æ®µï¼trueæfalseï¼å¼åé¶æ®µä¸è¿è¡ç»å½éªè¯åæééªè¯ |
| | |
| | | from ba_log |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoBa.BaLog" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoBa.BaLog"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_log (user_id,user_name, content, ip,code,msg |
| | | insert into ba_log (id, user_id,user_name, content, ip,code,msg |
| | | ) |
| | | values (#{userId,jdbcType=BIGINT},#{userName,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, |
| | | #{code,jdbcType=VARCHAR},#{msg,jdbcType=VARCHAR} |
| | | values (#{id,jdbcType=BIGINT}, |
| | | #{userId,jdbcType=BIGINT}, |
| | | #{userName,jdbcType=VARCHAR}, |
| | | #{content,jdbcType=VARCHAR}, |
| | | #{ip,jdbcType=VARCHAR}, |
| | | #{code,jdbcType=VARCHAR}, |
| | | #{msg,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoBa.BaLog" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoBa.BaLog"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_log |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="userId != null"> |
| | | user_id, |
| | | </if> |
| | |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="userId != null"> |
| | | #{userId,jdbcType=BIGINT}, |
| | | </if> |
| | |
| | | delete from mp_open_id |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoMp.MpOpenId" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoMp.MpOpenId"> |
| | | insert into mp_open_id |
| | | ( id,open_id,session_key |
| | | ,nick_name,head_img_url,phone |
| | |
| | | ,#{gender,jdbcType=VARCHAR},#{province,jdbcType=VARCHAR},#{createTime,jdbcType=TIMESTAMP} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoMp.MpOpenId" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoMp.MpOpenId"> |
| | | insert into mp_open_id |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from oth_file_manage |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthFileManage" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoOth.OthFileManage"> |
| | | <!--@mbg.generated--> |
| | | insert into oth_file_manage (user_id, file_id, deleted, dt) |
| | | values (#{userId,jdbcType=BIGINT}, #{fileId,jdbcType=BIGINT}, #{deleted,jdbcType=TINYINT}, |
| | | insert into oth_file_manage (id, user_id, file_id, deleted, dt) |
| | | values (#{id,jdbcType=BIGINT},#{userId,jdbcType=BIGINT}, #{fileId,jdbcType=BIGINT}, #{deleted,jdbcType=TINYINT}, |
| | | #{dt,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthFileManage" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoOth.OthFileManage"> |
| | | <!--@mbg.generated--> |
| | | insert into oth_file_manage |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="userId != null"> |
| | | user_id, |
| | | </if> |
| | |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="userId != null"> |
| | | #{userId,jdbcType=BIGINT}, |
| | | </if> |
| | |
| | | delete from oth_statistic_device |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice"> |
| | | <!--@mbg.generated--> |
| | | insert into oth_statistic_device (statistic_date, plan_id, pro_id, |
| | | insert into oth_statistic_device (id,statistic_date, plan_id, pro_id, |
| | | `number`, dt) |
| | | values (#{statisticDate,jdbcType=VARCHAR}, #{planId,jdbcType=BIGINT}, #{proId,jdbcType=BIGINT}, |
| | | values (#{id,jdbcType=BIGINT}, #{statisticDate,jdbcType=VARCHAR}, #{planId,jdbcType=BIGINT}, #{proId,jdbcType=BIGINT}, |
| | | #{number,jdbcType=INTEGER}, #{dt,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice"> |
| | | <!--@mbg.generated--> |
| | | insert into oth_statistic_device |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="statisticDate != null"> |
| | | statistic_date, |
| | | </if> |
| | |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="statisticDate != null"> |
| | | #{statisticDate,jdbcType=VARCHAR}, |
| | | </if> |
| | |
| | | delete from oth_statistic_workload |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticWorkload" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticWorkload"> |
| | | insert into oth_statistic_workload |
| | | ( id,statistic_date,user_id |
| | | ,user_name,type,node_content |
| | |
| | | ,#{userName,jdbcType=VARCHAR},#{type,jdbcType=VARCHAR},#{nodeContent,jdbcType=VARCHAR} |
| | | ,#{number,jdbcType=INTEGER}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticWorkload" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticWorkload"> |
| | | insert into oth_statistic_workload |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from plt_material |
| | | where id = #{id,jdbcType=INTEGER} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltMaterial" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPlt.PltMaterial"> |
| | | insert into plt_material |
| | | ( id,pro_id,name |
| | | ,type,length,factory |
| | |
| | | ,#{type,jdbcType=VARCHAR},#{length,jdbcType=VARCHAR},#{factory,jdbcType=VARCHAR} |
| | | ,#{deleted,jdbcType=TINYINT},#{remark,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltMaterial" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltMaterial"> |
| | | insert into plt_material |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from plt_product_file |
| | | where pro_id = #{proId,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductFile" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductFile"> |
| | | insert into plt_product_file |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProduct" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProduct"> |
| | | <!--@mbg.generated--> |
| | | insert into plt_product |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductQualityInspectionItems" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductQualityInspectionItems"> |
| | | insert into plt_product_quality_inspection_items |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductScrappingReason" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductScrappingReason"> |
| | | insert into plt_product_scrapping_reason |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from plt_product_test_inspection_items |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems"> |
| | | insert into plt_product_test_inspection_items |
| | | ( id,pro_id,item |
| | | ,deleted,disabled,sort |
| | |
| | | ,#{deleted,jdbcType=TINYINT},#{disabled,jdbcType=TINYINT},#{sort,jdbcType=INTEGER} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems"> |
| | | insert into plt_product_test_inspection_items |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductUnqualifiedReason" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductUnqualifiedReason"> |
| | | insert into plt_product_unqualified_reason |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from plt_production_line |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine"> |
| | | insert into plt_production_line |
| | | ( id,name,type |
| | | ,factory,director,d_mobile |
| | |
| | | ,#{installTime,jdbcType=VARCHAR},#{deleted,jdbcType=TINYINT},#{remark,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine"> |
| | | insert into plt_production_line |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | <include refid="Base_Column_List" /> |
| | | from plt_station where name = #{name,jdbcType=VARCHAR} and deleted!=1 |
| | | </select> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltStation" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltStation"> |
| | | insert into plt_station |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | from pr_assembly_plan |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrAssemblyPlan" |
| | | useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPr.PrAssemblyPlan" |
| | | > |
| | | insert into pr_assembly_plan |
| | | ( id,order_id, pro_id, batch_id |
| | | , process_id, name, number |
| | |
| | | , #{deleted,jdbcType=TINYINT}, #{content,jdbcType=VARCHAR}, #{inputNumber,jdbcType=INTEGER} |
| | | , #{outputNumber,jdbcType=INTEGER}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrAssemblyPlan" |
| | | useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrAssemblyPlan" |
| | | > |
| | | insert into pr_assembly_plan |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from pr_batch_number |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrBatchNumber" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPr.PrBatchNumber"> |
| | | insert into pr_batch_number |
| | | ( id,batch_number,pro_id |
| | | ,creator,dt,remark |
| | |
| | | ,#{creator,jdbcType=VARCHAR},#{dt,jdbcType=TIMESTAMP},#{remark,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrBatchNumber" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrBatchNumber"> |
| | | insert into pr_batch_number |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | ) |
| | | </foreach> |
| | | </insert> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial"> |
| | | <!--@mbg.generated--> |
| | | insert into pr_bill_of_material (node_id, file_id) |
| | | values (#{nodeId,jdbcType=BIGINT}, #{fileId,jdbcType=BIGINT}) |
| | | insert into pr_bill_of_material (id, node_id, file_id) |
| | | values (#{id,jdbcType=BIGINT}, #{nodeId,jdbcType=BIGINT}, #{fileId,jdbcType=BIGINT}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial"> |
| | | <!--@mbg.generated--> |
| | | insert into pr_bill_of_material |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="nodeId != null"> |
| | | node_id, |
| | | </if> |
| | |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="nodeId != null"> |
| | | #{nodeId,jdbcType=BIGINT}, |
| | | </if> |
| | |
| | | delete from pr_dev_ops_plan |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrDevOpsPlan" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPr.PrDevOpsPlan"> |
| | | insert into pr_dev_ops_plan |
| | | ( id,name,status,creator,dt |
| | | ,start_date,end_date,deleted |
| | |
| | | ,#{startDate,jdbcType=VARCHAR},#{endDate,jdbcType=VARCHAR},#{deleted,jdbcType=TINYINT} |
| | | ,#{content,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrDevOpsPlan" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrDevOpsPlan"> |
| | | insert into pr_dev_ops_plan |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from pr_device |
| | | where batch_id = #{batchId,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice"> |
| | | insert into pr_device |
| | | ( id,pro_id,batch_id |
| | | ,device_no,status) |
| | | values (#{id,jdbcType=BIGINT},#{proId,jdbcType=BIGINT},#{batchId,jdbcType=BIGINT} |
| | | ,#{deviceNo,jdbcType=BIGINT},#{status,jdbcType=TINYINT}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice"> |
| | | insert into pr_device |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | #{completeNumber,jdbcType=INTEGER}, #{deleted,jdbcType=TINYINT} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrOrderItem" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrOrderItem"> |
| | | insert into pr_order_item |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | update pr_order set deleted = 1 |
| | | where id = #{id} |
| | | </update> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrOrder" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrOrder"> |
| | | insert into pr_order |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | #{item} |
| | | </foreach> |
| | | </delete> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrProductionNode" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrProductionNode"> |
| | | insert into pr_production_node |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrProductionProcess" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrProductionProcess"> |
| | | insert into pr_production_process |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | #{item} |
| | | </foreach> |
| | | </delete> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrWorkingInstruction" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrWorkingInstruction"> |
| | | insert into pr_working_instruction |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_assembly_work_history |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkHistory" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkHistory"> |
| | | insert into sta_assembly_work_history |
| | | ( id,work_id,user_id,line_id |
| | | ,station_id,plan_id,process_id |
| | |
| | | ,#{startTime,jdbcType=TIMESTAMP},#{endTime,jdbcType=TIMESTAMP},#{assistants,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkHistory" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkHistory"> |
| | | insert into sta_assembly_work_history |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | from sta_assembly_work_last |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast" |
| | | useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast" |
| | | > |
| | | insert into sta_assembly_work_last |
| | | ( id, user_id, line_id |
| | | , station_id, plan_id, process_id |
| | |
| | | , #{status,jdbcType=TINYINT} |
| | | , #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{assistants,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" |
| | | parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" |
| | | parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast"> |
| | | insert into sta_assembly_work_last |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_dev_ops_task_claim_info |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo"> |
| | | insert into sta_dev_ops_task_claim_info |
| | | ( id,user_id,plan_id |
| | | ,dt,status) |
| | | values (#{id,jdbcType=BIGINT},#{userId,jdbcType=BIGINT},#{planId,jdbcType=BIGINT} |
| | | ,#{dt,jdbcType=TIMESTAMP},#{status,jdbcType=TINYINT}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo"> |
| | | insert into sta_dev_ops_task_claim_info |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_device_last |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLast" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLast"> |
| | | insert into sta_device_last |
| | | ( id,device_no,work_id |
| | | ,repair_id,plan_id,station_id |
| | |
| | | ,#{inLineTime,jdbcType=TIMESTAMP},#{outLineTime,jdbcType=TIMESTAMP} |
| | | ,#{memo,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLast" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLast"> |
| | | insert into sta_device_last |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_device_life_last |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLifeLast" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLifeLast"> |
| | | insert into sta_device_life_last |
| | | ( id,device_no,work_id |
| | | ,repair_id,plan_id,station_id |
| | |
| | | ,#{inTime,jdbcType=TIMESTAMP},#{outTime,jdbcType=TIMESTAMP},#{updatedBy,jdbcType=BIGINT} |
| | | ,#{memo,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLifeLast" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLifeLast"> |
| | | insert into sta_device_life_last |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_device_life |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife"> |
| | | insert into sta_device_life |
| | | ( id,device_no,work_id |
| | | ,repair_id,plan_id,station_id |
| | |
| | | ,#{outTime,jdbcType=TIMESTAMP},#{updatedBy,jdbcType=BIGINT},#{memo,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife"> |
| | | insert into sta_device_life |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_device_production_log |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog"> |
| | | insert into sta_device_production_log |
| | | ( id,device_no,work_id |
| | | ,repair_id,plan_id,station_id |
| | |
| | | ,#{outTime,jdbcType=TIMESTAMP},#{updatedBy,jdbcType=BIGINT},#{memo,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog"> |
| | | insert into sta_device_production_log |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_repair_info |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo"> |
| | | insert into sta_repair_info |
| | | ( id,device_no,work_id |
| | | ,from_node,repair_reason,repair_by |
| | |
| | | ,#{fromNode,jdbcType=BIGINT},#{repairReason,jdbcType=VARCHAR},#{repairBy,jdbcType=BIGINT} |
| | | ,#{repairTime,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo"> |
| | | insert into sta_repair_info |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | delete from sta_wip_sn_ex |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx"> |
| | | insert into sta_wip_sn_ex |
| | | ( id,device_no,product_id |
| | | ,product_name,product_no,create_time |
| | |
| | | ,#{productName,jdbcType=VARCHAR},#{productNo,jdbcType=VARCHAR},#{createTime,jdbcType=TIMESTAMP} |
| | | ,#{createBy,jdbcType=BIGINT}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx"> |
| | | insert into sta_wip_sn_ex |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | update tst_command set deleted = 1 |
| | | where id = #{id} |
| | | </update> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoTst.TstCommand" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoTst.TstCommand"> |
| | | insert into tst_command |
| | | ( id,pro_id,type |
| | | ,name,value,deleted |
| | |
| | | ,#{dt,jdbcType=TIMESTAMP},#{updatedBy,jdbcType=BIGINT},#{updatedDate,jdbcType=TIMESTAMP} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoTst.TstCommand" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoTst.TstCommand"> |
| | | insert into tst_command |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | ExcelVo vo = new ExcelVo(); |
| | | vo.name = user.name; |
| | | try { |
| | | vo.qrCode = QrCodeUtil.genQrCode(QrCodeConstant.TypeStation + user.id); |
| | | vo.qrCode = QrCodeUtil.genQrCode(QrCodeConstant.TypeWorker + user.id); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } catch (WriterException e) { |
| | |
| | | filterRegistrationBean.setOrder(order_DevStageFilter);//æ§è¡æ¬¡åº |
| | | }else{ |
| | | filterRegistrationBean.setFilter(new UserTokenFilter()); |
| | | filterRegistrationBean.addUrlPatterns("/*");//é
ç½®è¿æ»¤è§å |
| | | filterRegistrationBean.setName("UserTokenFilter");//è®¾ç½®è¿æ»¤å¨åç§° |
| | | filterRegistrationBean.setOrder(order_UserTokenFilter);//æ§è¡æ¬¡åº |
| | | /* |
| | | filterRegistrationBean.setFilter(new UserTokenFilter()); |
| | | filterRegistrationBean.addUrlPatterns("/process/*","/order/*","/assembly/*", |
| | | "/devOps/*","/workStation/*","/assembly/*", |
| | | "/schedule/save", |
| | |
| | | "/schedule/getUserList");//é
ç½®è¿æ»¤è§å |
| | | filterRegistrationBean.setName("UserTokenFilter");//è®¾ç½®è¿æ»¤å¨åç§° |
| | | filterRegistrationBean.setOrder(order_UserTokenFilter);//æ§è¡æ¬¡åº |
| | | */ |
| | | } |
| | | return filterRegistrationBean; |
| | | } |
| | |
| | | */ |
| | | @GetMapping(path="delete") |
| | | @SsoPowerAop(power = "10200009") |
| | | @Log("å é¤è§è²ä¿¡æ¯") |
| | | @Log("å 餿çä¿¡æ¯") |
| | | public BaseResponse<Boolean> delete(String id){ |
| | | long count = sv.delete(Long.parseLong(id)); |
| | | |
| | |
| | | } |
| | | @Transactional |
| | | public long delete(Long id) { |
| | | return this.scheduleRelDao.deleteByScheduleId(id); |
| | | this.scheduleRelDao.deleteByScheduleId(id); |
| | | return scheduleDao.deleteByPrimaryKey(id); |
| | | } |
| | | |
| | | |
New file |
| | |
| | | HELP.md |
| | | target/ |
| | | !.mvn/wrapper/maven-wrapper.jar |
| | | !**/src/main/**/target/ |
| | | !**/src/test/**/target/ |
| | | |
| | | ### STS ### |
| | | .apt_generated |
| | | .classpath |
| | | .factorypath |
| | | .project |
| | | .settings |
| | | .springBeans |
| | | .sts4-cache |
| | | |
| | | ### IntelliJ IDEA ### |
| | | .idea |
| | | *.iws |
| | | *.iml |
| | | *.ipr |
| | | |
| | | ### NetBeans ### |
| | | /nbproject/private/ |
| | | /nbbuild/ |
| | | /dist/ |
| | | /nbdist/ |
| | | /.nb-gradle/ |
| | | build/ |
| | | !**/src/main/**/build/ |
| | | !**/src/test/**/build/ |
| | | |
| | | ### VS Code ### |
| | | .vscode/ |