2024-7-16

This commit is contained in:
kchh 2024-07-16 14:09:17 +08:00
parent f843ee7a3e
commit ba310f4c70
150 changed files with 1936 additions and 1012 deletions

View File

@ -1,15 +1,15 @@
Y
java:S2589s"7Remove this expression which always evaluates to "true"(îä·‚úÿÿÿÿ8ÁôÉìé1
Z
java:S2589"7Remove this expression which always evaluates to "true"(îä·‚úÿÿÿÿ8ÁôÉìé1
Z
java:S2589¾"7Remove this expression which always evaluates to "true"(îä·‚úÿÿÿÿ8ÀôÉìé1
Z
java:S2589"7Remove this expression which always evaluates to "true"(îä·‚úÿÿÿÿ8ÁôÉìé1
Y
java:S2589s"7Remove this expression which always evaluates to "true"(îä·‚úÿÿÿÿ8ÁôÉìé1
^ java:S125Õ"<This block of commented-out lines of code should be removed.(Æîöæþÿÿÿÿ8¨õÉìé1
d
java:S1128"HRemove this unused import 'com.haitongauto.rtosac.service.UsersService'.(ÕÃ¥l8°õÉìé1
java:S1128"HRemove this unused import 'com.haitongauto.rtosac.service.UsersService'.(ÕÃ¥l8ƲÐð‡2
]
java:S1128
"@Remove this unused import 'org.apache.ibatis.annotations.Param'.(á¬Ó²8²õÉìé1
"@Remove this unused import 'org.apache.ibatis.annotations.Param'.(á¬Ó²8ɲÐð‡2
R
java:S1128"0Remove this unused import 'java.time.LocalTime'.(à®øÃùÿÿÿÿ8´õÉìé1
java:S1128"0Remove this unused import 'java.time.LocalTime'.(à®øÃùÿÿÿÿ8ʲÐð‡2

View File

@ -1,12 +1,12 @@
U
java:S2589"8Remove this expression which always evaluates to "false"(ÔÕªé×µùÓ1
java:S2589%"8Remove this expression which always evaluates to "false"(ÔÕªé8Ãÿ³ùÓ1
U
java:S2589&"8Remove this expression which always evaluates to "false"(ÔÕªé8Ãÿ³ùÓ1
java:S2589"8Remove this expression which always evaluates to "false"(ÔÕªé×µùÓ1
W
java:S1118
":Add a private constructor to hide the implicit public one.(–«¾¤8ꯞöÓ1
o java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(¹ÉþÖøÿÿÿÿ8쯞öÓ1
o java:S100 "NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ñÒÂãúÿÿÿÿ8ò¯žöÓ1
L
java:S5869="*Remove duplicates in this character class.(Õåï›þÿÿÿÿ8û¯žöÓ1
java:S5869<"*Remove duplicates in this character class.(Õåï›þÿÿÿÿ8û¯žöÓ1

View File

@ -1,14 +1,12 @@
^ java:S125á"<This block of commented-out lines of code should be removed.(Ï¢ÒÁþÿÿÿÿŸ¢á1
^ java:S125â"<This block of commented-out lines of code should be removed.(ò¤Íýþÿÿÿÿ8úŽÉ á1
^ java:S125ð"<This block of commented-out lines of code should be removed.(©¦Àïÿÿÿÿÿ8üŽÉ á1
^ java:S125"<This block of commented-out lines of code should be removed.(ÁÁš±ùÿÿÿÿ8ýŽÉ á1
^ java:S125Â"<This block of commented-out lines of code should be removed.(ðÁŸ´þÿÿÿÿ8úêõ¬å1
Y java:S125Ö"<This block of commented-out lines of code should be removed.(<28>ÇŸ‰8ëõ¬å1
^ java:S125"<This block of commented-out lines of code should be removed.(Ï¢ÒÁþÿÿÿÿ8¯éÚôƒ2
^ java:S125±"<This block of commented-out lines of code should be removed.(©¦Àïÿÿÿÿÿ8<>ñÚÈ„2
^ java:S125Ì"<This block of commented-out lines of code should be removed.(ÁÁš±ùÿÿÿÿ8ñÚÈ„2
^ java:S125<18>"<This block of commented-out lines of code should be removed.(ðÁŸ´þÿÿÿÿ8žñÚÈ„2
Y java:S125£"<This block of commented-out lines of code should be removed.(<28>ÇŸ‰8¦ñÚÈ„2
L
java:S1940×")Use the opposite operator (">=") instead.(ŒÀ¨¦ûÿÿÿÿ8ƒëõ¬å1
java:S1940¤")Use the opposite operator (">=") instead.(ŒÀ¨¦ûÿÿÿÿ8§ñÚÈ„2
o
java:S1128
"RRemove this unused import 'org.springframework.web.bind.annotation.RequestHeader'.(ØÙë™8šö¥³€2
java:S1128 "RRemove this unused import 'org.springframework.web.bind.annotation.RequestHeader'.(ØÙë™8þÑšý2
W
java:S1128":Remove this unused import 'java.util.concurrent.TimeUnit'.(Æ™<C386>þ8ö¥³€2
java:S1128":Remove this unused import 'java.util.concurrent.TimeUnit'.(Æ™<C386>þ8þÑšý2

View File

@ -0,0 +1,4 @@
Q java:S125"<This block of commented-out lines of code should be removed.(ÙÜÖ<C39C>
`
java:S1128"ERemove this unused import 'com.haitongauto.rtosam.job.FileDeleteJob'.(ŒêÙïøÿÿÿÿ

View File

@ -1,3 +1,4 @@
]
java:S1128 "@Remove this unused import 'org.apache.ibatis.annotations.Param'.(á¬Ó²8©Æý<C386>õ1
java:S1128
"@Remove this unused import 'org.apache.ibatis.annotations.Param'.(á¬Ó²8ø祇2

View File

@ -0,0 +1,3 @@
V java:S125"<This block of commented-out lines of code should be removed.(óÉ‹Ýùÿÿÿÿ
Q java:S125."<This block of commented-out lines of code should be removed.(½–ÐØ

View File

@ -1,16 +1,20 @@
Z
java:S2629±"7Use the built-in formatting to construct this argument.(Ž¥ý·øÿÿÿÿ˜ü÷1
java:S2629¹"7Use the built-in formatting to construct this argument.(Ž¥ý·øÿÿÿÿ8ãåöð‡2
Z
java:S2629¿"7Use the built-in formatting to construct this argument.(Ž¥ý·øÿÿÿÿ˜ü÷1
java:S2629Æ"7Use the built-in formatting to construct this argument.(Ž¥ý·øÿÿÿÿ8äåöð‡2
Z
java:S2629Ò"7Use the built-in formatting to construct this argument.(Ž¥ý·øÿÿÿÿ8äåöð‡2
U
java:S2629Â"7Use the built-in formatting to construct this argument.(紽Șü÷1
java:S2629Ö"7Use the built-in formatting to construct this argument.(ç´½È8äåöð‡2
Q
java:S3416"4Update this logger to use "MessageController.class".(Ïî„“8¯™ü÷1
] java:S125l"<This block of commented-out lines of code should be removed.(õ­<C3B5>ñøÿÿÿÿ8Ùü÷1
java:S3416"4Update this logger to use "MessageController.class".(Ïî„“8æöð‡2
] java:S125u"<This block of commented-out lines of code should be removed.(õ­<C3B5>ñøÿÿÿÿ8ªæöð‡2
d
java:S3457±"AFormat specifiers should be used instead of string concatenation.(Ž¥ý·øÿÿÿÿ8Ê™ü÷1
java:S3457¹"AFormat specifiers should be used instead of string concatenation.(Ž¥ý·øÿÿÿÿ´ÿð‡2
d
java:S3457¿"AFormat specifiers should be used instead of string concatenation.(Ž¥ý·øÿÿÿÿ8Ë™ü÷1
java:S3457Æ"AFormat specifiers should be used instead of string concatenation.(Ž¥ý·øÿÿÿÿ´ÿð‡2
d
java:S3457Ò"AFormat specifiers should be used instead of string concatenation.(Ž¥ý·øÿÿÿÿ´ÿð‡2
_
java:S3457Â"AFormat specifiers should be used instead of string concatenation.(ç´½È8Ì™ü÷1
java:S3457Ö"AFormat specifiers should be used instead of string concatenation.(紽ȴÿð‡2

View File

@ -1,22 +1,18 @@
J
java:S4274P"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8¦Ê¹éÎ1
Y java:S125<18>"<This block of commented-out lines of code should be removed.(¾¹Œ›8±Ê¹éÎ1
^ java:S125´"<This block of commented-out lines of code should be removed.(Ýâ“·ýÿÿÿÿ8´Ê¹éÎ1
Y java:S125"<This block of commented-out lines of code should be removed.(ˆ¨©á8µÊ¹éÎ1
Y java:S125¹"<This block of commented-out lines of code should be removed.(Ã<>ÝÚ8µÊ¹éÎ1
^ java:S125¾"<This block of commented-out lines of code should be removed.(Þ®ÎÀùÿÿÿÿ8¶Ê¹éÎ1
Y java:S125À"<This block of commented-out lines of code should be removed.(…ÆŠŽ8¶Ê¹éÎ1
^ java:S125Ã"<This block of commented-out lines of code should be removed.(¹ªÖ˜þÿÿÿÿ8·Ê¹éÎ1
Y java:S125È"<This block of commented-out lines of code should be removed.(£Ñ<C2A3>õ8¸Ê¹éÎ1
^ java:S125Ê"<This block of commented-out lines of code should be removed.(±œÿªøÿÿÿÿ8¸Ê¹éÎ1
Y java:S125Í"<This block of commented-out lines of code should be removed.(”¬Ú˜¥Åð1
^ java:S125ê"<This block of commented-out lines of code should be removed.(½ßŸûÿÿÿÿÿ8<>˜¥Åð1
java:S4274P"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8§ø¾ý2
Y java:S125<18>"<This block of commented-out lines of code should be removed.(¾¹Œ›8­ø¾ý2
^ java:S125´"<This block of commented-out lines of code should be removed.(Ýâ“·ýÿÿÿÿ8Ìø¾ý2
Y java:S125"<This block of commented-out lines of code should be removed.(ˆ¨©á8Ìø¾ý2
Y java:S125¹"<This block of commented-out lines of code should be removed.(Ã<>ÝÚ8Ìø¾ý2
^ java:S125¾"<This block of commented-out lines of code should be removed.(Þ®ÎÀùÿÿÿÿ8Íø¾ý2
Y java:S125À"<This block of commented-out lines of code should be removed.(…ÆŠŽ8Íø¾ý2
^ java:S125Ã"<This block of commented-out lines of code should be removed.(¹ªÖ˜þÿÿÿÿ8Íø¾ý2
Y java:S125È"<This block of commented-out lines of code should be removed.(£Ñ<C2A3>õ8Îø¾ý2
^ java:S125Ê"<This block of commented-out lines of code should be removed.(±œÿªøÿÿÿÿ8Îø¾ý2
Y java:S125Í"<This block of commented-out lines of code should be removed.(”¬Ú8Îø¾ý2
D
java:S1075¬"&Remove this hard-coded path-delimiter.(<28>Òþ 8˜¥Åð1
X java:S899°";Do something with the "boolean" value returned by "delete".(ºý<C3BD>8—˜¥Åð1
l
java:S4042°"NUse "java.nio.file.Files#delete" here for better messages on error conditions.(ºý<C3BD>8—˜¥Åð1
java:S1075ñ"&Remove this hard-coded path-delimiter.(<28>Òþ 8Ðø¾ý2
D
java:S1075µ"&Remove this hard-coded path-delimiter.(òÛ¿˜8˜˜¥Åð1
X java:S125Ã"<This block of commented-out lines of code should be removed.(úý­`8š˜¥Åð1
java:S1075ú"&Remove this hard-coded path-delimiter.(òÛ¿˜8Óø¾ý2
X java:S125ˆ"<This block of commented-out lines of code should be removed.(úý­`8Óø¾ý2

View File

@ -1,24 +1,24 @@
J
java:S5411E"(Use a primitive boolean expression here.(ýÑØÃúÿÿÿÿ8ªœ¶¸õ1
java:S5411E"(Use a primitive boolean expression here.(ýÑØÃúÿÿÿÿ8ÿ¿žõƒ2
K
java:S5411¥"(Use a primitive boolean expression here.(Ú‰ã÷ûÿÿÿÿ8¬œ¶¸õ1
java:S5411¤"(Use a primitive boolean expression here.(Ú‰ã÷ûÿÿÿÿ8„Àžõƒ2
K
java:S5411§"(Use a primitive boolean expression here.(ýÑØÃúÿÿÿÿ8¬œ¶¸õ1
^ java:S125<EFBFBD>"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8¼«¶¸õ1
Y java:S125¯"<This block of commented-out lines of code should be removed.(Ä—ˆÙ8¿«¶¸õ1
^ java:S125Ñ"<This block of commented-out lines of code should be removed.(Îøÿÿÿÿ8Ñ«¶¸õ1
^ java:S125í"<This block of commented-out lines of code should be removed.(Üþ<C39C>êúÿÿÿÿ8Ô«¶¸õ1
^ java:S125û"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8競¸õ1
java:S5411¦"(Use a primitive boolean expression here.(ýÑØÃúÿÿÿÿ8†Àžõƒ2
^ java:S125Ž"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8Þžõƒ2
Y java:S125®"<This block of commented-out lines of code should be removed.(Ä—ˆÙ8…Þžõƒ2
^ java:S125Ð"<This block of commented-out lines of code should be removed.(Îøÿÿÿÿ8ŠÞžõƒ2
^ java:S125ì"<This block of commented-out lines of code should be removed.(Üþ<C39C>êúÿÿÿÿ8<>Þžõƒ2
^ java:S125ú"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8¤Þžõƒ2
K
java:S4274×"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8競¸õ1
^ java:S125à"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8ù«¶¸õ1
^ java:S125ë"<This block of commented-out lines of code should be removed.(âÌžÜþÿÿÿÿ8…¬¶¸õ1
^ java:S125Ö"<This block of commented-out lines of code should be removed.(âÌžÜþÿÿÿÿ8”¬¶¸õ1
^ java:S125¼"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8»¬¶¸õ1
Y java:S125Ð"<This block of commented-out lines of code should be removed.(ÉÒˆ‚8¾¬¶¸õ1
Y java:S125Ü"<This block of commented-out lines of code should be removed.(¿á‰Î8Ŭ¶¸õ1
java:S4274Ö"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8¥Þžõƒ2
^ java:S125ß"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8½Þžõƒ2
^ java:S125ë"<This block of commented-out lines of code should be removed.(âÌžÜþÿÿÿÿ8ÌÞžõƒ2
^ java:S125Õ"<This block of commented-out lines of code should be removed.(âÌžÜþÿÿÿÿ8âÞžõƒ2
^ java:S125»"<This block of commented-out lines of code should be removed.(®¡ÜÏùÿÿÿÿ8—ßžõƒ2
Y java:S125Ï"<This block of commented-out lines of code should be removed.(ÉÒˆ‚8šßžõƒ2
Y java:S125Û"<This block of commented-out lines of code should be removed.(¿á‰Î8œßžõƒ2
c
java:S1128"ARemove this unused import 'com.haitongauto.utils.FormatDateTime'.(<28>ÒÓŸüÿÿÿÿ8ˆ­¸õ1
java:S1128"ARemove this unused import 'com.haitongauto.utils.FormatDateTime'.(<28>ÒÓŸüÿÿÿÿ8Âÿýç„2
Z
java:S1128"8Remove this unused import 'java.util.stream.Collectors'.(Óóº´úÿÿÿÿ8ˆ­¸õ1
java:S1128"8Remove this unused import 'java.util.stream.Collectors'.(Óóº´úÿÿÿÿ8Âÿýç„2

View File

@ -1,8 +1,4 @@
g java:S1123"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ8Å”™÷Þ1
g java:S1125"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ8Æ”™÷Þ1
g java:S112d"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ8Æ”™÷Þ1
g java:S112f"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ8Æ”™÷Þ1
y
java:S2629K"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ÌŸúª8¢¾<C2A2>øÞ1
T

View File

@ -1,4 +1,4 @@
] java:S125L"<This block of commented-out lines of code should be removed.(â<>™Òþÿÿÿÿ8¬ïªÍå1
^ java:S125¢"<This block of commented-out lines of code should be removed.(ŸžÁÝúÿÿÿÿ8³ïªÍå1
k java:S100¯"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ó±¿È8ÀïªÍå1
] java:S125S"<This block of commented-out lines of code should be removed.(â<>™Òþÿÿÿÿ8½±£ý2
^ java:S125ª"<This block of commented-out lines of code should be removed.(ŸžÁÝúÿÿÿÿ8À±£ý2
k java:S100º"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ó±¿È8ı£ý2

View File

@ -0,0 +1,2 @@
h java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(µÚ— üÿÿÿÿ

View File

@ -1,5 +1,4 @@
` java:S112X"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
C
java:S5411"(Use a primitive boolean expression here.(îÞ™<C39E>øÿÿÿÿ
C

View File

@ -1,2 +0,0 @@
V java:S125m"<This block of commented-out lines of code should be removed.(ݱ­¥þÿÿÿÿ

View File

@ -1,11 +1,15 @@
D
java:S5411­"(Use a primitive boolean expression here.(†çæ±ÿÿÿÿÿ
Q java:S125M"<This block of commented-out lines of code should be removed.(‘Òô›
d java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ÐÞ£É
R java:S125£"<This block of commented-out lines of code should be removed.(Σ°ü
K
java:S5411´"(Use a primitive boolean expression here.(†çæ±ÿÿÿÿÿ8ºîɽ…2
X java:S125I"<This block of commented-out lines of code should be removed.(‘Òô›8ïîɽ…2
[
java:S1874s"9Remove this use of "StringEscapeUtils"; it is deprecated.(öƒ‘Êüÿÿÿÿ8óîɽ…2
k java:S100Ž"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ÐÞ£É8õîɽ…2
\
java:S1874œ"9Remove this use of "StringEscapeUtils"; it is deprecated.(Ë﫨úÿÿÿÿ8÷îɽ…2
Y java:S125ª"<This block of commented-out lines of code should be removed.(Σ°ü8ýîɽ…2
c
java:S1128
"ARemove this unused import 'com.haitongauto.utils.FormatDateTime'.(<28>ÒÓŸüÿÿÿÿ
?
java:S1128")Remove this unused import 'java.io.File'.(†Ð¥Å
"ARemove this unused import 'com.haitongauto.utils.FormatDateTime'.(<28>ÒÓŸüÿÿÿÿ8²¨Ê½…2
F
java:S1128")Remove this unused import 'java.io.File'.(†Ð¥Å8³¨Ê½…2

View File

@ -0,0 +1,3 @@
=
java:S1125p"(Remove the unnecessary boolean literals.(¶éÑ

View File

@ -1,2 +1,2 @@
V java:S125t"<This block of commented-out lines of code should be removed.(ݱ­¥þÿÿÿÿ
V java:S125k"<This block of commented-out lines of code should be removed.(ݱ­¥þÿÿÿÿ

View File

@ -0,0 +1,3 @@
V java:S125 "<This block of commented-out lines of code should be removed.(ÒÌâ–øÿÿÿÿ
Q java:S125."<This block of commented-out lines of code should be removed.(‹œ«Þ

View File

@ -1,148 +1,170 @@
h java:S112Å "FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ8ÖÿÛý€2
i
java:S1301 "KReplace this "switch" statement by "if" statements to increase readability.(Êéô¶8ëÿÛý€2
java:S1301<EFBFBD> "KReplace this "switch" statement by "if" statements to increase readability.(Êéô¶8ƒÛ<EFBFBD>ƒ‰2
n
java:S1301õ"KReplace this "switch" statement by "if" statements to increase readability.(<28>«ü”ùÿÿÿÿ8ëÿÛý€2
z
java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(èÙçÎ8ûÿÛý€2

java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(×Ǫ„ûÿÿÿÿ8ûÿÛý€2
z
java:S2629<18>"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(Þ¸çæ8ûÿÛý€2
z
java:S2629Ÿ"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(üš·×8ûÿÛý€2
Z
java:S2629Ð"7Use the built-in formatting to construct this argument.(™“”üùÿÿÿÿ8üÿÛý€2
z
java:S2629Ò"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(—äŽÃ8üÿÛý€2
Z
java:S2629Ñ "7Use the built-in formatting to construct this argument.(Žé‡›ùÿÿÿÿ8þÿÛý€2
z
java:S2629Ó "\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(©ì‚8þÿÛý€2
z
java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ÌŸúª8ÿÿÛý€2

java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(åÆð<C386>ùÿÿÿÿ8ÿÿÛý€2

java:S2629È"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(úÐͽøÿÿÿÿ8€€Üý€2
Z
java:S2629Ñ"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8€€Üý€2
Z
java:S2629Ú"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8€€Üý€2
Z
java:S2629á"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8€€Üý€2
Z
java:S2629é"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8€€Üý€2
Z
java:S2629ù"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8<>€Üý€2
P
java:S1199Ñ"-Extract this nested code block into a method.(ÒÌâ–øÿÿÿÿ8™€Üý€2
P
java:S1199Í
"-Extract this nested code block into a method.(ÒÌâ–øÿÿÿÿ8š€Üý€2
V
java:S2589Î"8Remove this expression which always evaluates to "false"(ÚÙ¥ÒÜý€2
java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(<28>«ü”ùÿÿÿÿ8„Û<E2809E>ƒ‰2
y
java:S1149ó"VReplace the synchronized class "Hashtable" by an unsynchronized one such as "HashMap".(ä–å»üÿÿÿÿÜý€2
Y java:S125ó"<This block of commented-out lines of code should be removed.(»½õÇÜý€2
Y java:S125¢"<This block of commented-out lines of code should be removed.(¸¿»ÓÜý€2
java:S2629½"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ÔäøF8Û<E280B9>ƒ‰2
z
java:S2629ý"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(èÙçÎ8Û<E280B9>ƒ‰2

java:S2629Š"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(×Ǫ„ûÿÿÿÿ8Û<E280B9>ƒ‰2
z
java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(Þ¸çæ8Û<E280B9>ƒ‰2
z
java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(üš·×8Û<E280B9>ƒ‰2
Z
java:S2629¸"7Use the built-in formatting to construct this argument.(™“”üùÿÿÿÿ8Û<E280B9>ƒ‰2
z
java:S2629º"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(—äŽÃ8Û<E280B9>ƒ‰2
z
java:S2629ë"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(Ò÷”î8ŒÛ<C592>ƒ‰2
y
java:S2629<18> "\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ÔäøF8ŒÛ<C592>ƒ‰2
Z
java:S2629è "7Use the built-in formatting to construct this argument.(Žé‡›ùÿÿÿÿ8<>Û<EFBFBD>ƒ‰2
z
java:S2629ê "\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(©ì‚8<>Û<EFBFBD>ƒ‰2
Z
java:S2629ï"7Use the built-in formatting to construct this argument.(šª<C5A1>…ùÿÿÿÿ8<>Û<EFBFBD>ƒ‰2
Z
java:S2629ü"7Use the built-in formatting to construct this argument.(šª<C5A1>…ùÿÿÿÿ8<>Û<EFBFBD>ƒ‰2
Z
java:S2629"7Use the built-in formatting to construct this argument.(šª<C5A1>…ùÿÿÿÿ8<>Û<EFBFBD>ƒ‰2
Z
java:S2629<18>"7Use the built-in formatting to construct this argument.(šª<C5A1>…ùÿÿÿÿ8<>Û<EFBFBD>ƒ‰2
z
java:S2629¥"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ÌŸúª8ŽÛ<C5BD>ƒ‰2

java:S2629¨"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(åÆð<C386>ùÿÿÿÿ8ŽÛ<C5BD>ƒ‰2

java:S2629ë"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(úÐͽøÿÿÿÿ8ŽÛ<C5BD>ƒ‰2
Z
java:S2629ô"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8ŽÛ<C5BD>ƒ‰2
Z
java:S2629ý"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8ŽÛ<C5BD>ƒ‰2
Z
java:S2629"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8ŽÛ<C5BD>ƒ‰2
Z
java:S2629Œ"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8ŽÛ<C5BD>ƒ‰2
Z
java:S2629œ"7Use the built-in formatting to construct this argument.(³€ðÖþÿÿÿÿ8ŽÛ<C5BD>ƒ‰2
P
java:S1199â"-Extract this nested code block into a method.(ÒÌâ–øÿÿÿÿ8—Û<E28094>ƒ‰2
P
java:S1199ê
"-Extract this nested code block into a method.(ÒÌâ–øÿÿÿÿ8˜Û<CB9C>ƒ‰2
V
java:S2589ä"8Remove this expression which always evaluates to "false"(ÚÙ¥Ò8ÁÈšƒ‰2
y
java:S1149"VReplace the synchronized class "Hashtable" by an unsynchronized one such as "HashMap".(ä–å»üÿÿÿÿ8ÐÈšƒ‰2
Y java:S125"<This block of commented-out lines of code should be removed.(»½õÇ8é÷<C3A9>ƒ‰2
L
java:S1940¿")Use the opposite operator ("!=") instead.(ص¨«ýÿÿÿÿÜý€2
Y java:S125þ"<This block of commented-out lines of code should be removed.(ªòý‡Üý€2
java:S1940±")Use the opposite operator ("!=") instead.(ص¨«ýÿÿÿÿ8<>ø<EFBFBD>ƒ‰2
Y java:S125ð"<This block of commented-out lines of code should be removed.(ªòý‡8˜ø<CB9C>ƒ‰2
Y
java:S1751Ü"6Remove this "return" statement or make it conditional.(Ï΢•üÿÿÿÿÜý€2
java:S1751³"6Remove this "return" statement or make it conditional.(Ï΢•üÿÿÿÿ8¢ø<C2A2>ƒ‰2
^
java:S3457½"AFormat specifiers should be used instead of string concatenation.(ÔäøF8¦ø<C2A6>ƒ‰2
_
java:S3457"AFormat specifiers should be used instead of string concatenation.(èÙçÎÜý€2
java:S3457ý"AFormat specifiers should be used instead of string concatenation.(èÙçÎ8µø<C2B5>ƒ‰2
d
java:S3457"AFormat specifiers should be used instead of string concatenation.(×Ǫ„ûÿÿÿÿÜý€2
java:S3457Š"AFormat specifiers should be used instead of string concatenation.(×Ǫ„ûÿÿÿÿ8¹ø<C2B9>ƒ‰2
W
java:S1612š"9Replace this lambda with method reference 'Good::getVin'.(©ŠôÈ8<>—Üý€2
java:S1612<EFBFBD>"9Replace this lambda with method reference 'Good::getVin'.(©ŠôÈ8½ø<C2BD>ƒ‰2
_
java:S3457<18>"AFormat specifiers should be used instead of string concatenation.(Þ¸çæ8ƒ—Üý€2
java:S3457"AFormat specifiers should be used instead of string concatenation.(Þ¸çæ8¾ø<C2BE>ƒ‰2
_
java:S3457Ÿ"AFormat specifiers should be used instead of string concatenation.(üš·×8…—Üý€2
java:S3457"AFormat specifiers should be used instead of string concatenation.(üš·×8¿ø<C2BF>ƒ‰2
_
java:S3457¢"AFormat specifiers should be used instead of string concatenation.(¢Š¬Ð8…—Üý€2
Y java:S125£"<This block of commented-out lines of code should be removed.(£ÍÚÕ8†—Üý€2
^ java:S125±"<This block of commented-out lines of code should be removed.(ë²<C3AB>ëùÿÿÿÿ8†—Üý€2
java:S3457˜"AFormat specifiers should be used instead of string concatenation.(¢Š¬Ð8¿ø<C2BF>ƒ‰2
d
java:S3457¹"AFormat specifiers should be used instead of string concatenation.(™“”üùÿÿÿÿ8‡—Üý€2
java:S3457¡"AFormat specifiers should be used instead of string concatenation.(™“”üùÿÿÿÿ8Äø<C384>ƒ‰2
_
java:S3457»"AFormat specifiers should be used instead of string concatenation.(—äŽÃ8‡—Üý€2
java:S3457£"AFormat specifiers should be used instead of string concatenation.(—äŽÃ8Åø<C385>ƒ‰2
d
java:S3457½"AFormat specifiers should be used instead of string concatenation.(›œÿùÿÿÿÿÿ8‡—Üý€2
F java:S108Ä")Either remove or fill this block of code.(Úîø›8ˆ—Üý€2
java:S3457¥"AFormat specifiers should be used instead of string concatenation.(›œÿùÿÿÿÿÿ8Æø<C386>ƒ‰2
F java:S108¬")Either remove or fill this block of code.(Úîø›8Èø<C388>ƒ‰2
d
java:S3457Ð"AFormat specifiers should be used instead of string concatenation.(™“”üùÿÿÿÿ8‰—Üý€2
java:S3457¸"AFormat specifiers should be used instead of string concatenation.(™“”üùÿÿÿÿ8Ëø<EFBFBD>ƒ‰2
_
java:S3457Ò"AFormat specifiers should be used instead of string concatenation.(—äŽÃ8‰—Üý€2
java:S3457º"AFormat specifiers should be used instead of string concatenation.(—äŽÃ8Ìø<EFBFBD>ƒ‰2
d
java:S3457Ô"AFormat specifiers should be used instead of string concatenation.(›œÿùÿÿÿÿÿ8‰—Üý€2
Y java:S125û"<This block of commented-out lines of code should be removed.(¶Â„ß8œ—Üý€2
^ java:S125Õ"<This block of commented-out lines of code should be removed.(ÙâþÎþÿÿÿÿ8¡—Üý€2
Y java:S125Ø"<This block of commented-out lines of code should be removed.(‚Üå¸8¡—Üý€2
Y java:S125â"<This block of commented-out lines of code should be removed.(øì§Î8¢—Üý€2
Y java:S125±"<This block of commented-out lines of code should be removed.(ĩá8¦—Üý€2
Y java:S125Õ"<This block of commented-out lines of code should be removed.(¸¿»Ó8¨—Üý€2
Y java:S125±"<This block of commented-out lines of code should be removed.(ªòý‡8¯—Üý€2
^ java:S125<18>"<This block of commented-out lines of code should be removed.(¬<>ñ£þÿÿÿÿ8¹—Üý€2
java:S3457¼"AFormat specifiers should be used instead of string concatenation.(›œÿùÿÿÿÿÿ8Íø<C38D>ƒ‰2
^ java:S125æ"<This block of commented-out lines of code should be removed.(ÙâþÎþÿÿÿÿ8¬Éšƒ‰2
Y java:S125é"<This block of commented-out lines of code should be removed.(‚Üå¸8¬Éšƒ‰2
Y java:S125ó"<This block of commented-out lines of code should be removed.(øì§Î8­Éšƒ‰2
Y
java:S1751Ø"6Remove this "return" statement or make it conditional.(Ï΢•üÿÿÿÿ8ÍÉšƒ‰2
_
java:S3457ë"AFormat specifiers should be used instead of string concatenation.(Ò÷”î8ÐÉšƒ‰2
^ java:S125ñ"<This block of commented-out lines of code should be removed.(Ÿ´©»øÿÿÿÿ8§Ü¤«‰2
^
java:S3457<18> "AFormat specifiers should be used instead of string concatenation.(ÔäøF8ÕÉšƒ‰2
c
java:S1612³"EReplace this lambda with method reference 'myVin_dataBase::contains'.(¼Ò‘ú8º—Üý€2
Y java:S125Ü"<This block of commented-out lines of code should be removed.(Ñ´ùÀ8¿—Üý€2
^ java:S125ñ"<This block of commented-out lines of code should be removed.(“õß×þÿÿÿÿ8¿—Üý€2
K java:S108ý")Either remove or fill this block of code.(±Ÿ—±ÿÿÿÿÿ8Á—Üý€2
^ java:S125‡ "<This block of commented-out lines of code should be removed.(òÇ­„þÿÿÿÿ8—Üý€2
java:S1612§ "EReplace this lambda with method reference 'myVin_dataBase::contains'.(¼Ò‘ú8ÙÉšƒ‰2
^ java:S125Ñ "<This block of commented-out lines of code should be removed.(“õß×þÿÿÿÿ8ÞÉšƒ‰2
K java:S108Ý ")Either remove or fill this block of code.(±Ÿ—±ÿÿÿÿÿ8ßÉšƒ‰2
^ java:S125ç "<This block of commented-out lines of code should be removed.(òÇ­„þÿÿÿÿ8áÉšƒ‰2
W
java:S1612¹ "9Replace this lambda with method reference 'Good::getVin'.(©ŠôÈ8Æ—Üý€2
^ java:S125Ê "<This block of commented-out lines of code should be removed.(ë²<C3AB>ëùÿÿÿÿ8ë—Üý€2
^ java:S125Ñ
"<This block of commented-out lines of code should be removed.(ÙâþÎþÿÿÿÿ8ò—Üý€2
Y java:S125Ô
"<This block of commented-out lines of code should be removed.(‚Üå¸8ó—Üý€2
Y java:S125Þ
"<This block of commented-out lines of code should be removed.(øì§Î8ó—Üý€2
^ java:S125 "<This block of commented-out lines of code should be removed.(¿<><C2BF>Êüÿÿÿÿ8õ—Üý€2
^ java:S125Ü "<This block of commented-out lines of code should be removed.(ûÓº–øÿÿÿÿ8ø—Üý€2
java:S1612˜
"9Replace this lambda with method reference 'Good::getVin'.(©ŠôÈ8åÉšƒ‰2
^ java:S125©
"<This block of commented-out lines of code should be removed.(ë²<C3AB>ëùÿÿÿÿ8“Êšƒ‰2
^ java:S125î
"<This block of commented-out lines of code should be removed.(ÙâþÎþÿÿÿÿ8—Êšƒ‰2
Y java:S125ñ
"<This block of commented-out lines of code should be removed.(‚Üå¸8˜Êšƒ‰2
Y java:S125û
"<This block of commented-out lines of code should be removed.(øì§Î8™Êšƒ‰2
^ java:S125õ "<This block of commented-out lines of code should be removed.(ûÓº–øÿÿÿÿ8¡Êšƒ‰2
d
java:S3457Ñ "AFormat specifiers should be used instead of string concatenation.(Žé‡›ùÿÿÿÿ8þ—Üý€2
java:S3457è "AFormat specifiers should be used instead of string concatenation.(Žé‡›ùÿÿÿÿ8¨Êšƒ‰2
_
java:S3457Ó "AFormat specifiers should be used instead of string concatenation.(©ì‚8þ—Üý€2
java:S3457ê "AFormat specifiers should be used instead of string concatenation.(©ì‚8©Êšƒ‰2
_
java:S3457è "AFormat specifiers should be used instead of string concatenation.(³<>¤þ8€˜Üý€2
K java:S108ì ")Either remove or fill this block of code.(±Ÿ—±ÿÿÿÿÿ˜Üý€2
^ java:S125¤"<This block of commented-out lines of code should be removed.(…ãÑÙúÿÿÿÿ8<>˜Üý€2
^ java:S125÷"<This block of commented-out lines of code should be removed.(¦ÀŽùýÿÿÿÿ8­˜Üý€2
java:S3457ÿ "AFormat specifiers should be used instead of string concatenation.(³<>¤þ8«Êšƒ‰2
K java:S108")Either remove or fill this block of code.(±Ÿ—±ÿÿÿÿÿ8³Êšƒ‰2
^ java:S125º"<This block of commented-out lines of code should be removed.(…ãÑÙúÿÿÿÿ8·Êšƒ‰2
^ java:S125<18>"<This block of commented-out lines of code should be removed.(¦ÀŽùýÿÿÿÿ8ÖÊšƒ‰2
d
java:S3457ï"AFormat specifiers should be used instead of string concatenation.(šª<C5A1>…ùÿÿÿÿ8Þú<C39E>ƒ‰2
d
java:S3457ü"AFormat specifiers should be used instead of string concatenation.(šª<C5A1>…ùÿÿÿÿ8äÊšƒ‰2
d
java:S3457"AFormat specifiers should be used instead of string concatenation.(šª<C5A1>…ùÿÿÿÿ8åÊšƒ‰2
d
java:S3457<18>"AFormat specifiers should be used instead of string concatenation.(šª<C5A1>…ùÿÿÿÿ8æÊšƒ‰2
_
java:S3457"AFormat specifiers should be used instead of string concatenation.(ÌŸúª˜Üý€2
java:S3457¥"AFormat specifiers should be used instead of string concatenation.(ÌŸúª8éÊšƒ‰2
d
java:S3457"AFormat specifiers should be used instead of string concatenation.(åÆð<C386>ùÿÿÿÿ˜Üý€2
java:S3457¨"AFormat specifiers should be used instead of string concatenation.(åÆð<C386>ùÿÿÿÿ8êÊšƒ‰2
_
java:S3457"AFormat specifiers should be used instead of string concatenation.(²çóª˜Üý€2
java:S3457®"AFormat specifiers should be used instead of string concatenation.(²çóª8ëÊšƒ‰2
_
java:S3457"AFormat specifiers should be used instead of string concatenation.(…‘ÄÒ8¿˜Üý€2
^ java:S125©"<This block of commented-out lines of code should be removed.(Žà…½üÿÿÿÿ˜Üý€2
java:S3457¸"AFormat specifiers should be used instead of string concatenation.(…‘ÄÒ8íÊšƒ‰2
^ java:S125Ì"<This block of commented-out lines of code should be removed.(Žà…½üÿÿÿÿ8îÊšƒ‰2
d
java:S3457È"AFormat specifiers should be used instead of string concatenation.(úÐͽøÿÿÿÿ˜Üý€2
java:S3457ë"AFormat specifiers should be used instead of string concatenation.(úÐͽøÿÿÿÿ8ðÊšƒ‰2
d
java:S3457Ñ"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ˜Üý€2
java:S3457ô"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ8òÊšƒ‰2
d
java:S3457Ú"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ˜Üý€2
java:S3457ý"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ8óÊšƒ‰2
d
java:S3457á"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ˜Üý€2
java:S3457"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ8ôÊšƒ‰2
d
java:S3457é"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ˜Üý€2
java:S3457Œ"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ8õÊšƒ‰2
d
java:S3457ù"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ˜Üý€2
java:S3457œ"AFormat specifiers should be used instead of string concatenation.(³€ðÖþÿÿÿÿ8öÊšƒ‰2
g
java:S1128"JRemove this unused import 'com.haitongauto.models.valid.cus.ValidRequest'.(´ÍÆî8­Þâý€2
java:S1128"JRemove this unused import 'com.haitongauto.models.valid.cus.ValidRequest'.(´ÍÆî8¼‡ËÚ‰2
a
java:S1128"DRemove this unused import 'com.haitongauto.rtosac.fangdou.Debounce'.(쟋¨8­Þâý€2
java:S1128"DRemove this unused import 'com.haitongauto.rtosac.fangdou.Debounce'.(쟋¨8¼‡ËÚ‰2
o
java:S1128"MRemove this unused import 'com.haitongauto.rtosac.fangdou.DebounceInterface'.(Àó…üþÿÿÿÿ8­Þâý€2
java:S1128"MRemove this unused import 'com.haitongauto.rtosac.fangdou.DebounceInterface'.(Àó…üþÿÿÿÿ8¼‡ËÚ‰2
e
java:S1128 "CRemove this unused import 'com.haitongauto.utils.HttpClientHelper'.(ý¹Ë‚ÿÿÿÿÿ8­Þâý€2
java:S1128!"CRemove this unused import 'com.haitongauto.utils.HttpClientHelper'.(ý¹Ë‚ÿÿÿÿÿ8¼‡ËÚ‰2
l
java:S1128,"JRemove this unused import 'java.util.concurrent.ScheduledExecutorService'.(<28>Ê߈ÿÿÿÿÿ8­Þâý€2
java:S1128-"JRemove this unused import 'java.util.concurrent.ScheduledExecutorService'.(<28>Ê߈ÿÿÿÿÿ8½‡ËÚ‰2
o
java:S1128-"MRemove this unused import 'java.util.concurrent.ScheduledThreadPoolExecutor'.(îêŸïüÿÿÿÿ8­Þâý€2
java:S1128."MRemove this unused import 'java.util.concurrent.ScheduledThreadPoolExecutor'.(îêŸïüÿÿÿÿ8½‡ËÚ‰2

View File

@ -1,13 +1,17 @@
|
java:S2293Ž"YReplace the type specification in this constructor call with the diamond operator ("<>").(†”ï<E2809D>øÿÿÿÿ8•ÍÄŽã1
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(†”ï<E2809D>øÿÿÿÿ8Ò¿þÿ2
|
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(†”ï<E2809D>øÿÿÿÿ8•ÍÄŽã1
java:S2293Ÿ"YReplace the type specification in this constructor call with the diamond operator ("<>").(†”ï<E2809D>øÿÿÿÿ8Ò¿þÿ2
|
java:S2293¹"YReplace the type specification in this constructor call with the diamond operator ("<>").(†”ï<E2809D>øÿÿÿÿ8ÍÄŽã1
X java:S125f"<This block of commented-out lines of code should be removed.(˜±êœ8âÍÄŽã1
X java:S125s"<This block of commented-out lines of code should be removed.(úÖ˜²8ãÍÄŽã1
D
java:S1905{"(Remove this unnecessary cast to "Truck".(ÓîÜ>8åÍÄŽã1
^ java:S125"<This block of commented-out lines of code should be removed.(нûþûÿÿÿÿ8éÍÄŽã1
^ java:S125¨"<This block of commented-out lines of code should be removed.(’ á¾ùÿÿÿÿ8éÍÄŽã1
java:S2293¿"YReplace the type specification in this constructor call with the diamond operator ("<>").(†”ï<E2809D>øÿÿÿÿ8Ò¿þÿ2
X java:S125l"<This block of commented-out lines of code should be removed.(˜±êœ8¸Àþÿ2
X java:S125y"<This block of commented-out lines of code should be removed.(úÖ˜²8¸Àþÿ2
E
java:S1905<18>"(Remove this unnecessary cast to "Truck".(ÓîÜ>8ºÀþÿ2
^ java:S125¡"<This block of commented-out lines of code should be removed.(нûþûÿÿÿÿ8¾Àþÿ2
^ java:S125®"<This block of commented-out lines of code should be removed.(’ á¾ùÿÿÿÿ8¾Àþÿ2
^
java:S1128"ARemove this unused import 'com.haitongauto.models.ido.CommonRes'.(’¬æ¬8©À<C2A9>€ƒ2
k
java:S1128 "IRemove this unused import 'com.haitongauto.models.ido.login.UserInfoRes'.(㿦¯ýÿÿÿÿ8©À<C2A9>€ƒ2

View File

@ -2,17 +2,11 @@
Q java:S1257"<This block of commented-out lines of code should be removed.(‹¦ÃÍ
=
java:S1075­"&Remove this hard-coded path-delimiter.(<28>Òþ 
Q java:S899±";Do something with the "boolean" value returned by "delete".(ºý<C3BD>
e
java:S4042±"NUse "java.nio.file.Files#delete" here for better messages on error conditions.(ºý<C3BD>
=
java:S1075"&Remove this hard-coded path-delimiter.(òÛ¿˜
R java:S125½"<This block of commented-out lines of code should be removed.(¢ÃÃ<C383>
=
java:S1075"&Remove this hard-coded path-delimiter.(<28>Òþ 
Q java:S899˜";Do something with the "boolean" value returned by "delete".(ºý<C3BD>
e
java:S4042˜"NUse "java.nio.file.Files#delete" here for better messages on error conditions.(ºý<C3BD>
=
java:S1075<18>"&Remove this hard-coded path-delimiter.(òÛ¿˜
W java:S125¥"<This block of commented-out lines of code should be removed.(¼“·Æûÿÿÿÿ

View File

@ -1,3 +1,3 @@
X java:S1254"<This block of commented-out lines of code should be removed.(‘ùôƒ8ÚŽçÂ×1
Y java:S125"<This block of commented-out lines of code should be removed.(È·÷°8ÖäÖìç1
Y java:S125š"<This block of commented-out lines of code should be removed.(È·÷°8ÖäÖìç1

View File

@ -1,20 +1,19 @@
Z
java:S2589¤"7Remove this expression which always evaluates to "true"(®–’‡ùÿÿÿÿ8ïÔí¤å1
] java:S125b"<This block of commented-out lines of code should be removed.(ü´ŒÐýÿÿÿÿ8Õí¤å1
^ java:S125œ"<This block of commented-out lines of code should be removed.(ÙÖßïùÿÿÿÿ8<>Õí¤å1
Y java:S125"<This block of commented-out lines of code should be removed.(¼”õý8®Õí¤å1
p java:S100Ä"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ý°§‡ÿÿÿÿÿ8ÈÕí¤å1
^ java:S125¸"<This block of commented-out lines of code should be removed.(ò¤Íýþÿÿÿÿ8ßÕí¤å1
^ java:S125Æ"<This block of commented-out lines of code should be removed.(©¦Àïÿÿÿÿÿ8áÕí¤å1
^ java:S125Š"<This block of commented-out lines of code should be removed.(ðÁŸ´þÿÿÿÿ8êÕí¤å1
Y java:S125ž"<This block of commented-out lines of code should be removed.(<28>ÇŸ‰8ïÕí¤å1
U
java:S2589Ö"7Remove this expression which always evaluates to "true"(Á­¢Ù8œï…ƒ2
^ java:S125«"<This block of commented-out lines of code should be removed.(ÙÖßïùÿÿÿÿ8¥ï…ƒ2
k java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ÿ<>§ô8°ï…ƒ2
^ java:S125×"<This block of commented-out lines of code should be removed.(ò¤Íýþÿÿÿÿ8·ï…ƒ2
^ java:S125å"<This block of commented-out lines of code should be removed.(©¦Àïÿÿÿÿÿ8¸ï…ƒ2
^ java:S125"<This block of commented-out lines of code should be removed.(ðÁŸ´þÿÿÿÿ8ºï…ƒ2
Y java:S125Ê"<This block of commented-out lines of code should be removed.(<28>ÇŸ‰8¼ï…ƒ2
L
java:S1940Ÿ")Use the opposite operator (">=") instead.(ŒÀ¨¦ûÿÿÿÿ8ñÕí¤å1
Y java:S125Ü"<This block of commented-out lines of code should be removed.(ÖÇÒü8·Ø‡ªå1
java:S1940Ë")Use the opposite operator (">=") instead.(ŒÀ¨¦ûÿÿÿÿ8¼ï…ƒ2
Y java:S125"<This block of commented-out lines of code should be removed.(ÖÇÒü8¿ï…ƒ2
Y
java:S1128"<Remove this unused import 'com.alibaba.fastjson.JSONObject'.(äýµ<C3BD>8ùÃÙ¥å1
java:S1128"<Remove this unused import 'com.alibaba.fastjson.JSONObject'.(äýµ<C3BD>8†ÿ‰ƒ2
h
java:S1128 "FRemove this unused import 'com.haitongauto.models.forward.ForwardRes'.(÷˜ôÆûÿÿÿÿ8úÃÙ¥å1
java:S1128
"FRemove this unused import 'com.haitongauto.models.forward.ForwardRes'.(÷˜ôÆûÿÿÿÿ8ˆÿ‰ƒ2
e
java:S1128"CRemove this unused import 'com.haitongauto.utils.HttpClientHelper'.(ý¹Ë‚ÿÿÿÿÿ8úÃÙ¥å1
java:S1128"CRemove this unused import 'com.haitongauto.utils.HttpClientHelper'.(ý¹Ë‚ÿÿÿÿÿ8‰ÿ‰ƒ2

View File

@ -4,9 +4,9 @@ java:S2293
F
java:S1604"(Make this anonymous inner class a lambda(Éãî8ÅÿÒ÷Ý1
U
java:S3655"7Call "Optional#isPresent()" before accessing the value.(˜ê’‘8åøÏÞ1
U
java:S3655ç"7Call "Optional#isPresent()" before accessing the value.(Œ†«¼8æøÏÞ1
U
java:S3655"7Call "Optional#isPresent()" before accessing the value.(˜ê’‘8åøÏÞ1
F
java:S1905Š"(Remove this unnecessary cast to "Users".(ÔÆÒ¢8¡Ä¸ÏÞ1
Z

View File

@ -1,28 +1,28 @@
Y java:S125 "<This block of commented-out lines of code should be removed.(<28>÷®È8­ƒ²€2
^ java:S125Â"<This block of commented-out lines of code should be removed.(æï¥Æúÿÿÿÿ8¼ƒ„²€2
^ java:S125Ó"<This block of commented-out lines of code should be removed.(使<C2BD>üÿÿÿÿ8¨£…²€2
^ java:S125å"<This block of commented-out lines of code should be removed.(§èÌÌüÿÿÿÿ8å÷†²€2
^ java:S125"<This block of commented-out lines of code should be removed.(±èòæþÿÿÿÿ8Ëë°³€2
Y java:S125­"<This block of commented-out lines of code should be removed.(<28>÷®È8ÿ™þ2
^ java:S125Ï"<This block of commented-out lines of code should be removed.(æï¥Æúÿÿÿÿ8€š‹þ‚2
^ java:S125à"<This block of commented-out lines of code should be removed.(使<C2BD>üÿÿÿÿ8€š‹þ‚2
^ java:S125ò"<This block of commented-out lines of code should be removed.(§èÌÌüÿÿÿÿ8€š‹þ‚2
^ java:S125"<This block of commented-out lines of code should be removed.(±èòæþÿÿÿÿ8€š‹þ‚2
f
java:S1128"DRemove this unused import 'com.haitongauto.models.ido.PortAreasIdo'.(ØÑ€æüÿÿÿÿ8ͯ局2
java:S1128"DRemove this unused import 'com.haitongauto.models.ido.PortAreasIdo'.(ØÑ€æüÿÿÿÿ8ý£õü‚2
i
java:S1128
"GRemove this unused import 'com.haitongauto.models.sysuser.OldSysTruck'.(¾í¦˜ÿÿÿÿÿ8¶åá±€2
"GRemove this unused import 'com.haitongauto.models.sysuser.OldSysTruck'.(¾í¦˜ÿÿÿÿÿ8ý£õü‚2
a
java:S1128 "DRemove this unused import 'com.haitongauto.models.sysuser.OldSysUT'.(ÂÀ°›8¶åá±€2
java:S1128 "DRemove this unused import 'com.haitongauto.models.sysuser.OldSysUT'.(ÂÀ°›8þ£õü‚2
c
java:S1128 "FRemove this unused import 'com.haitongauto.models.sysuser.OldSysUser'.(°Ìˆ×8¶åá±€2
java:S1128 "FRemove this unused import 'com.haitongauto.models.sysuser.OldSysUser'.(°Ìˆ×8þ£õü‚2
c
java:S1128"FRemove this unused import 'com.haitongauto.models.dto.DataForMessage'.(à¸üü8Ìë°³€2
java:S1128"FRemove this unused import 'com.haitongauto.models.dto.DataForMessage'.(à¸üü8þ£õü‚2
`
java:S1128"CRemove this unused import 'com.haitongauto.utils.minio.MinioUtils'.(ìòƒú8¿ƒ„²€2
java:S1128"CRemove this unused import 'com.haitongauto.utils.minio.MinioUtils'.(ìòƒú8þ£õü‚2
g
java:S1128"ERemove this unused import 'io.minio.errors.InvalidEndpointException'.(̪–‘þÿÿÿÿ8¿ƒ„²€2
java:S1128"ERemove this unused import 'io.minio.errors.InvalidEndpointException'.(̪–‘þÿÿÿÿ8þ£õü‚2
c
java:S1128"ARemove this unused import 'io.minio.errors.InvalidPortException'.(¯ä·×øÿÿÿÿ8¿ƒ„²€2
java:S1128"ARemove this unused import 'io.minio.errors.InvalidPortException'.(¯ä·×øÿÿÿÿ8þ£õü‚2
n
java:S1128"LRemove this unused import 'org.springframework.web.multipart.MultipartFile'.(ôŸœžÿÿÿÿÿ8Àƒ„²€2
java:S1128"LRemove this unused import 'org.springframework.web.multipart.MultipartFile'.(ôŸœžÿÿÿÿÿ8þ£õü‚2
F
java:S1128")Remove this unused import 'java.io.File'.(†Ð¥Å8˜­ƒ²€2
q secrets:S6695ì"KMake sure this WeChat key gets revoked, changed, and removed from the code.(×à©âüÿÿÿÿ8¬ËÖÎú1
java:S1128")Remove this unused import 'java.io.File'.(†Ð¥Å8þ£õü‚2
q secrets:S6695ù"KMake sure this WeChat key gets revoked, changed, and removed from the code.(×à©âüÿÿÿÿ8˜šþ2

View File

@ -0,0 +1,2 @@
o java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(µÚ— üÿÿÿÿ8ì¥Æ”…2

View File

@ -0,0 +1,6 @@
?
java:S2386"Make this member "protected".(á¸Ïßüÿÿÿÿ8ŒÍþ¼…2
X java:S125$"<This block of commented-out lines of code should be removed.(à—º³8ÍÎþ¼…2
X java:S125F"<This block of commented-out lines of code should be removed.(úãö®8âÎþ¼…2
] java:S125Q"<This block of commented-out lines of code should be removed.(<28>½¹Õüÿÿÿÿ8åÎþ¼…2

View File

@ -1,3 +1,9 @@
R java:S125"<This block of commented-out lines of code should be removed.(픬´
^ java:S125È"<This block of commented-out lines of code should be removed.(¡ÇÑúüÿÿÿÿ8„«˜¬å1
^ java:S125È"<This block of commented-out lines of code should be removed.(¡ÇÑúüÿÿÿÿ8„«˜¬å1
I
java:S1905ò"+Remove this unnecessary cast to "PortArea".(±<>šš8ùÂÖÈ„2
c
java:S1128"ARemove this unused import 'com.haitongauto.utils.DateTimeHelper'.(š’ß™üÿÿÿÿ8ÃÖÈ„2
R
java:S1128"0Remove this unused import 'java.time.LocalTime'.(à®øÃùÿÿÿÿ8ƒÃÖÈ„2

View File

@ -0,0 +1,2 @@
g java:S101"MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.(šúËÊýÿÿÿÿ

View File

@ -1,34 +1,29 @@
c java:S112Ù"FDefine and throw a dedicated exception instead of using a generic one.(›¦ÿƒ8<>¤šÎú1

java:S2629Û"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(¤—Ó«ýÿÿÿÿ8¦¤šÎú1
java:S2629Ü"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(¤—Ó«ýÿÿÿÿ8Ñæü<EFBFBD>ˆ2
z
java:S2629Þ"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(áç¸ó8¦¤šÎú1
java:S2629ß"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(áç¸ó8Òæü<EFBFBD>ˆ2
y
java:S2629Õ"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(„ñê~8§¤šÎú1
^ java:S125Ô"<This block of commented-out lines of code should be removed.(ŸŸó®þÿÿÿÿ8¢ÀšÎú1
Y java:S125Ö"<This block of commented-out lines of code should be removed.(dz¯ú8£ÀšÎú1
java:S2629Ü"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(„ñê~8Óæü<EFBFBD>ˆ2
^ java:S125Õ"<This block of commented-out lines of code should be removed.(ŸŸó®þÿÿÿÿ8¸ûü<C3BB>ˆ2
Y java:S125×"<This block of commented-out lines of code should be removed.(dz¯ú8¹ûü<C3BB>ˆ2
d
java:S3457Û"AFormat specifiers should be used instead of string concatenation.(¤—Ó«ýÿÿÿÿ8£ÀšÎú1
java:S3457Ü"AFormat specifiers should be used instead of string concatenation.(¤—Ó«ýÿÿÿÿ8¹ûü<C3BB>ˆ2
_
java:S3457Þ"AFormat specifiers should be used instead of string concatenation.(áç¸ó8¤ÀšÎú1
java:S3457ß"AFormat specifiers should be used instead of string concatenation.(áç¸ó8»ûü<C3BB>ˆ2
d
java:S3457å"AFormat specifiers should be used instead of string concatenation.(­‹ßÛýÿÿÿÿ8¥ÀšÎú1
^ java:S125Œ"<This block of commented-out lines of code should be removed.(ÔŠ©Ìÿÿÿÿÿ8¿ÀšÎú1
^ java:S125¢"<This block of commented-out lines of code should be removed.(ðÍëÏþÿÿÿÿ8ÂÀšÎú1
Y java:S125³"<This block of commented-out lines of code should be removed.(¡¾§ë8ßÀšÎú1
java:S3457æ"AFormat specifiers should be used instead of string concatenation.(­‹ßÛýÿÿÿÿ8¼ûü<C3BB>ˆ2
^ java:S125§"<This block of commented-out lines of code should be removed.(ðÍëÏþÿÿÿÿ8Úûü<C3BB>ˆ2
^
java:S3457Õ"AFormat specifiers should be used instead of string concatenation.(„ñê~8ãÀšÎú1
java:S3457Ü"AFormat specifiers should be used instead of string concatenation.(„ñê~8€üü<C3BC>ˆ2
d
java:S3457Ø"AFormat specifiers should be used instead of string concatenation.(£Â«—úÿÿÿÿ8äÀšÎú1
X java:S125Ü"<This block of commented-out lines of code should be removed.(餶R8îÀšÎú1
X java:S125"<This block of commented-out lines of code should be removed.(èøV8üÀšÎú1
^ java:S125¢"<This block of commented-out lines of code should be removed.(ŸÒ‹æùÿÿÿÿ8þÀšÎú1
java:S3457ß"AFormat specifiers should be used instead of string concatenation.(£Â«—úÿÿÿÿ8<>üü<C3BC>ˆ2
X java:S125"<This block of commented-out lines of code should be removed.(èøV8”üü<C3BC>ˆ2
]
java:S1128";Remove this unused import 'com.alibaba.fastjson.JSONArray'.(ÿÀâ³ùÿÿÿÿ8ƒ»Çü1
java:S1128";Remove this unused import 'com.alibaba.fastjson.JSONArray'.(ÿÀâ³ùÿÿÿÿ8„ÃÇþˆ2
o
java:S1128"MRemove this unused import 'com.haitongauto.rtosac.api.AppointmentController'.(—å‹úúÿÿÿÿ8„»Çü1
java:S1128"MRemove this unused import 'com.haitongauto.rtosac.api.AppointmentController'.(—å‹úúÿÿÿÿ8…ÃÇþˆ2
g
java:S1128"JRemove this unused import 'com.haitongauto.rtosac.service.MessageService'.(¥“®´8„»Çü1
java:S1128"JRemove this unused import 'com.haitongauto.rtosac.service.MessageService'.(¥“®´8…ÃÇþˆ2
e
java:S1128"CRemove this unused import 'com.haitongauto.utils.HttpClientHelper'.(ý¹Ë‚ÿÿÿÿÿ8…»Çü1
java:S1128"CRemove this unused import 'com.haitongauto.utils.HttpClientHelper'.(ý¹Ë‚ÿÿÿÿÿ8…ÃÇþˆ2

View File

@ -0,0 +1,3 @@
R
java:S1128"0Remove this unused import 'java.time.LocalDate'.(›‘¬èýÿÿÿÿ8¸á‡óƒ2

View File

@ -1,4 +1,4 @@
W java:S125#"<This block of commented-out lines of code should be removed.(À‡Õs8¦Î·¨¿1
W java:S125#"<This block of commented-out lines of code should be removed.(À‡Õs8Š»º‡ˆ2
_
java:S1128"=Remove this unused import 'com.haitongauto.models.dto.Pages'.(õ¢òöùÿÿÿÿ8çî·¨¿1
java:S1128"=Remove this unused import 'com.haitongauto.models.dto.Pages'.(õ¢òöùÿÿÿÿ8»º‡ˆ2

View File

@ -0,0 +1,3 @@
T
java:S1128"2Remove this unused import 'javax.xml.crypto.Data'.(¦¿çˆýÿÿÿÿ8„‰ÛÈ„2

View File

@ -16,14 +16,8 @@ java:S3457R"AFormat specifiers should be used instead of string concatenation.(
] java:S125}"<This block of commented-out lines of code should be removed.(¥öÔ°úÿÿÿÿ8³¡æÔî1
D
java:S1075È"&Remove this hard-coded path-delimiter.(<28>Òþ 8¸¡æÔî1
X java:S899Ì";Do something with the "boolean" value returned by "delete".(ºý<C3BD>8¿¡æÔî1
l
java:S4042Ì"NUse "java.nio.file.Files#delete" here for better messages on error conditions.(ºý<C3BD>8¿¡æÔî1
D
java:S1075Ñ"&Remove this hard-coded path-delimiter.(òÛ¿˜8À¡æÔî1
] java:S899ß";Do something with the "boolean" value returned by "delete".(½±˜üùÿÿÿÿ8áæÔî1
q
java:S4042ß"NUse "java.nio.file.Files#delete" here for better messages on error conditions.(½±˜üùÿÿÿÿ8áæÔî1
j
java:S1128"HRemove this unused import 'com.haitongauto.mapper.base.PortAreasMapper'.(ú¹<C2B9>þÿÿÿÿ8¨ŽñÓî1
e

View File

@ -1,8 +1,12 @@
o
java:S2293C"YReplace the type specification in this constructor call with the diamond operator ("<>").(ìИ
f
java:S1301j"KReplace this "switch" statement by "if" statements to increase readability.(ÕÙàßüÿÿÿÿ
v
java:S2293F"YReplace the type specification in this constructor call with the diamond operator ("<>").(ìИ˜¼…2
m
java:S1301q"KReplace this "switch" statement by "if" statements to increase readability.(ÕÙàßüÿÿÿÿ8ÿ˜¼…2
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ÏÚŽµýÿÿÿÿ
V
java:S1874;"9Remove this use of "StringEscapeUtils"; it is deprecated.(¦ é<C2A0>8þš¼…2
V
java:S1874S"9Remove this use of "StringEscapeUtils"; it is deprecated.(¦ é<C2A0>8“™‰¼…2
H
java:S1128"+Remove this unused import 'java.util.Date'.(¸…¼ü8³ÖŸ­ö1
java:S1128"+Remove this unused import 'java.util.Date'.(¸…¼ü8Ö½…2

View File

@ -1,10 +1,10 @@
|
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ó¸ÇŸúÿÿÿÿ8Õ¼ˆ†õ1
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ÏÚŽµýÿÿÿÿ8ݼˆ†õ1
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ó¸ÇŸúÿÿÿÿ8<EFBFBD>ïõ÷ƒ2
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ÏÚŽµýÿÿÿÿ8Àðõ÷ƒ2
K
java:S4274"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8àĈ†õ1
java:S4274œ"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8ñƒö÷ƒ2
W
java:S1128"5Remove this unused import 'com.bestvike.IComparison'.(®ÚÄñþÿÿÿÿ8ô̬<EFBFBD>õ1
java:S1128"5Remove this unused import 'com.bestvike.IComparison'.(®ÚÄñþÿÿÿÿ8€…ö÷ƒ2
R
java:S1128"0Remove this unused import 'java.time.LocalDate'.(›‘¬èýÿÿÿÿ8ô̬<C38C>õ1
java:S1128"0Remove this unused import 'java.time.LocalDate'.(›‘¬èýÿÿÿÿ8<>…ö÷ƒ2

View File

@ -1,10 +1,10 @@
h
java:S1301˜"KReplace this "switch" statement by "if" statements to increase readability.(ôØ<C3B4>%8<EFBFBD>¶Î¨ð1
java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ôØ<C3B4>%8ÉÄú»…2
J
java:S4274_"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8•·Î¨ð1
o java:S100s"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(éÎ<C3A9>Ýøÿÿÿÿ8<EFBFBD>·Î¨ð1
Q
java:S1128"4Remove this unused import 'java.text.ParsePosition'.(¸à«¤8èÛ•©ð1
T
java:S1128"7Remove this unused import 'java.text.SimpleDateFormat'.(ú¡ÙÛ8èÛ•©ð1
java:S4274]"(Replace this assert with a proper check.(šÚÇÙÿÿÿÿÿ8ŽÅú»…2
o java:S100q"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(éÎ<C3A9>Ýøÿÿÿÿ8Åú»…2
\
java:S1874¡"9Remove this use of "StringEscapeUtils"; it is deprecated.(öƒ‘Êüÿÿÿÿ8Œîú»…2
^ java:S125Æ"<This block of commented-out lines of code should be removed.(—<>žêþÿÿÿÿ8—Åú»…2
^ java:S125á"<This block of commented-out lines of code should be removed.(ï ‰àÿÿÿÿÿ8˜Åú»…2

View File

@ -0,0 +1,5 @@
?
java:S2386"Make this member "protected".(á¸Ïßüÿÿÿÿ8ìîι…2
X java:S125A"<This block of commented-out lines of code should be removed.(úãö®8…ïι…2
] java:S125M"<This block of commented-out lines of code should be removed.(<28>½¹Õüÿÿÿÿ8‡ïι…2

View File

@ -506,4 +506,34 @@ Rwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/TruckController.j

Rwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/UsersController.java,a\8\a8f14b3063fe6f65ce81aaad67342427ba595c78
Œ
\wx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/TruckManagementController.java,7\8\78aa76e42b5ad97c470991c86d33217b8d3b8219
\wx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/TruckManagementController.java,7\8\78aa76e42b5ad97c470991c86d33217b8d3b8219
<EFBFBD>
Qmodels/src/main/java/com/haitongauto/models/ido/receiving/ReceivingDetailIdo.java,8\5\85592dc3f9f52de25b667fbf9b5339bbef9f21b3

Vmodels/src/main/java/com/haitongauto/models/ido/receiving/ReceivingVehicleIdo_DTO.java,b\7\b7b28f9a93ada45aa8374a02e9293b127648bb17

Rmodels/src/main/java/com/haitongauto/models/ido/receiving/ReceivingVehicleIdo.java,2\0\2076e4994875e94b1f0ffd8fd1512c083119b117

Vwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/FeedbackControllerl.java,6\7\67f453cf6278d444c94a647f485c75f2bd5c19e3

Vwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/PortAreasController.java,5\6\560f24b8f45e670732a01c11923a32441901ae78
Š
Zwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/ServiceConfigController.java,2\9\29b8801d4ec84f7ca647af70d060b9e6f7bd1128
s
Cmodels/src/main/java/com/haitongauto/models/dto/open/TruckUser.java,9\8\980cef93c550ad2f41ad9f44dabd7929b7c4f799
x
Hmodels/src/main/java/com/haitongauto/models/pojo/NoviceIntroduction.java,0\3\0317a7778f8d8eeec9212515fad0dacf0d39096c
s
Cwx-applet/src/main/java/com/haitongauto/rtosac/PermInterceptor.java,f\1\f125ca4fe9830e7c1c6c3b41d0db854f279159ea
|
Lwx-applet/src/main/java/com/haitongauto/rtosac/InterceptorConfiguration.java,a\7\a74b282271941960face489eaee741e6eec2357c

Rwx-applet-admin/src/main/java/com/haitongauto/rtosam/InterceptorConfiguration.java,4\3\43b4a0830f39bfe746332030dc9739db6712aac2
y
Iwx-applet-admin/src/main/java/com/haitongauto/rtosam/PermInterceptor.java,a\e\aea56443b73d82c2b502abd47a45929cc24eaa5a

Pwx-applet-admin/src/main/java/com/haitongauto/rtosam/ApplicationAppletAdmin.java,1\4\14ef601e6353443e773fa7e7dbf78bae725701b6
Š
Zwx-applet-admin/src/main/java/com/haitongauto/rtosam/service/base/AnnouncementService.java,3\2\3295ba932c3ce2a83faa736a829107a085e5a386
<EFBFBD>
`wx-applet-admin/src/main/java/com/haitongauto/rtosam/service/base/NoviceIntroductionService.java,3\5\35a396681ad25cef593011cb6a017bd9cf45860c

View File

@ -496,4 +496,34 @@ Rwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/TruckController.j

Rwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/UsersController.java,a\8\a8f14b3063fe6f65ce81aaad67342427ba595c78
Œ
\wx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/TruckManagementController.java,7\8\78aa76e42b5ad97c470991c86d33217b8d3b8219
\wx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/TruckManagementController.java,7\8\78aa76e42b5ad97c470991c86d33217b8d3b8219
<EFBFBD>
Qmodels/src/main/java/com/haitongauto/models/ido/receiving/ReceivingDetailIdo.java,8\5\85592dc3f9f52de25b667fbf9b5339bbef9f21b3

Vmodels/src/main/java/com/haitongauto/models/ido/receiving/ReceivingVehicleIdo_DTO.java,b\7\b7b28f9a93ada45aa8374a02e9293b127648bb17

Rmodels/src/main/java/com/haitongauto/models/ido/receiving/ReceivingVehicleIdo.java,2\0\2076e4994875e94b1f0ffd8fd1512c083119b117

Vwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/FeedbackControllerl.java,6\7\67f453cf6278d444c94a647f485c75f2bd5c19e3

Vwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/PortAreasController.java,5\6\560f24b8f45e670732a01c11923a32441901ae78
Š
Zwx-applet-admin/src/main/java/com/haitongauto/rtosam/api/base/ServiceConfigController.java,2\9\29b8801d4ec84f7ca647af70d060b9e6f7bd1128
s
Cmodels/src/main/java/com/haitongauto/models/dto/open/TruckUser.java,9\8\980cef93c550ad2f41ad9f44dabd7929b7c4f799
x
Hmodels/src/main/java/com/haitongauto/models/pojo/NoviceIntroduction.java,0\3\0317a7778f8d8eeec9212515fad0dacf0d39096c
s
Cwx-applet/src/main/java/com/haitongauto/rtosac/PermInterceptor.java,f\1\f125ca4fe9830e7c1c6c3b41d0db854f279159ea
|
Lwx-applet/src/main/java/com/haitongauto/rtosac/InterceptorConfiguration.java,a\7\a74b282271941960face489eaee741e6eec2357c

Rwx-applet-admin/src/main/java/com/haitongauto/rtosam/InterceptorConfiguration.java,4\3\43b4a0830f39bfe746332030dc9739db6712aac2
y
Iwx-applet-admin/src/main/java/com/haitongauto/rtosam/PermInterceptor.java,a\e\aea56443b73d82c2b502abd47a45929cc24eaa5a

Pwx-applet-admin/src/main/java/com/haitongauto/rtosam/ApplicationAppletAdmin.java,1\4\14ef601e6353443e773fa7e7dbf78bae725701b6
Š
Zwx-applet-admin/src/main/java/com/haitongauto/rtosam/service/base/AnnouncementService.java,3\2\3295ba932c3ce2a83faa736a829107a085e5a386
<EFBFBD>
`wx-applet-admin/src/main/java/com/haitongauto/rtosam/service/base/NoviceIntroductionService.java,3\5\35a396681ad25cef593011cb6a017bd9cf45860c

View File

@ -80,7 +80,6 @@ public interface OrderApi {
/**
* 收车详情
*
* @return 返回收车详情
*/
@GetMapping("/miniapp/vehicleClose/collectCar/detail/{id}")

View File

@ -13,7 +13,6 @@ import java.util.List;
public interface YardOrderApi {
/**
* 验证车辆是否在场
*
* @param vins 车架号
* @return 返回结果
*/

View File

@ -35,7 +35,6 @@ public class DepartureVehicleInterfaceImpl implements DepartureVehicleInterface
List<DepartureVehicleIdo> mylist = null;
//接口数据转Map
CommonRes<DepartureVehicleIdoPar> map = orderApi.getDepartureVehicleList(printTicketTime, query, current, size);
//判断接口数据获取是否成功
String status = map.getStatus();
DepartureVehicleIdo_DTO departureVehicleIdo_dto = new DepartureVehicleIdo_DTO();
@ -51,8 +50,6 @@ public class DepartureVehicleInterfaceImpl implements DepartureVehicleInterface
break;
case "401":
//用户权限过期
departureVehicleIdo_dto.setStatus(status);
break;
default:
departureVehicleIdo_dto.setStatus(status);
break;
@ -68,12 +65,9 @@ public class DepartureVehicleInterfaceImpl implements DepartureVehicleInterface
*/
@Override
public DepartureDetailIdo_DTO getDepartureDetailForId(String id) {
//创建一个收车详情数据的实例基本数据+明细列表
DepartureDetailIdo_DTO departureDetailIdo_dto = new DepartureDetailIdo_DTO();
DepartureDetailIdo departureDetailIdo = null;
//接口数据转Map
//接口数据转Map
CommonRes<DepartureDetailIdo> map = orderApi.getDepartureDetailForId(id);
String status = map.getStatus();
@ -85,7 +79,6 @@ public class DepartureVehicleInterfaceImpl implements DepartureVehicleInterface
if (departureDetailIdo != null) {
departureDetailIdo_dto.setDepartureDetailIdo(departureDetailIdo);
}
}
if ("401".equals(status)) {
departureDetailIdo_dto.setStatus("401");
@ -101,8 +94,6 @@ public class DepartureVehicleInterfaceImpl implements DepartureVehicleInterface
*/
@Override
public boolean checkDepartureVehicle(String id) {
if (id == null || id.isEmpty()) {
return false;
}
@ -117,7 +108,6 @@ public class DepartureVehicleInterfaceImpl implements DepartureVehicleInterface
"errorMsg": "", //操作失败原因成功则为 null
"result": true //操作结果
}**/
}
return result;
}

View File

@ -43,25 +43,18 @@ public class ReceivingVehicleInterfaceImpl implements ReceivingVehicleInterface
mylist = receivingVehicleIdoPar.getRecords();
receivingVehicleIdo_dto.setReceivingVehicleIdoList(mylist);
}
break;
case "401":
//用户权限过期
receivingVehicleIdo_dto.setStatus(status);
break;
default:
receivingVehicleIdo_dto.setStatus(status);
break;
}
return receivingVehicleIdo_dto;
}
/**
* 获取一条收车明细
*
* @param id收车id
* @return 返回一条收车明细
*/
@ -81,7 +74,6 @@ public class ReceivingVehicleInterfaceImpl implements ReceivingVehicleInterface
if (receivingDetailIdo != null) {
receivingDetailIdo_dto.setReceivingDetailIdo(receivingDetailIdo);
}
}
if ("401".equals(status)) {
receivingDetailIdo_dto.setStatus("401");
@ -91,7 +83,6 @@ public class ReceivingVehicleInterfaceImpl implements ReceivingVehicleInterface
/**
* 完成收车核验
*
* @param id收车id
* @return 返回完成收车核验结果
*/
@ -106,12 +97,7 @@ public class ReceivingVehicleInterfaceImpl implements ReceivingVehicleInterface
//判断接口数据获取是否成功
if ("200".equals(res.getStatus())) {
//接口数据获取成功将接口的Map的data数据转为接口对象数据最后返回核验是否成功 true/false
/*{
"errorMsg": "", //操作失败原因成功则为 null
"result": true //操作结果
}**/
result = res.getData().isResult();
}
return result;
}

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Thu May 30 17:32:39 CST 2024
#Wed Jul 10 14:28:23 CST 2024
version=1.0-SNAPSHOT
groupId=org.example
artifactId=interfaces

View File

@ -55,6 +55,8 @@ public interface AppointmentExtendMapper {
*/
Appointment getActiveAppointment(@Param("users_id") String users_id);
Appointment getActiveAppointmentNew(@Param("truck_number") String truck_number);
Appointment getActiveAppointmentByTruckNumber(@Param("truck_number") String truck_number);
/**

View File

@ -124,7 +124,7 @@
select *
from applet_message
where is_del=0 and is_read=0
truck_number IN
and truck_number IN
<foreach item="truck_number" collection="list" open="(" separator="," close=")">
#{truck_number}
</foreach>

View File

@ -55,6 +55,18 @@
order by create_time desc
limit 1
</select>
<select id="getActiveAppointmentNew" resultType="com.haitongauto.models.pojo.Appointment">
select *
from applet_appointment
where is_del=0
and (truck_number=#{truck_number} or id_code=#{truck_number})
and appointment_state &lt;&gt; 4
and appointment_state &lt;&gt; 9
and appointment_state &lt; 6
order by create_time desc
limit 1
</select>
<select id="getActiveAppointmentByTruckNumber" resultType="com.haitongauto.models.pojo.Appointment">
select *
from applet_appointment
@ -133,5 +145,4 @@
</select>
</mapper>

View File

@ -124,7 +124,7 @@
select *
from applet_message
where is_del=0 and is_read=0
truck_number IN
and truck_number IN
<foreach item="truck_number" collection="list" open="(" separator="," close=")">
#{truck_number}
</foreach>

View File

@ -55,6 +55,18 @@
order by create_time desc
limit 1
</select>
<select id="getActiveAppointmentNew" resultType="com.haitongauto.models.pojo.Appointment">
select *
from applet_appointment
where is_del=0
and (truck_number=#{truck_number} or id_code=#{truck_number})
and appointment_state &lt;&gt; 4
and appointment_state &lt;&gt; 9
and appointment_state &lt; 6
order by create_time desc
limit 1
</select>
<select id="getActiveAppointmentByTruckNumber" resultType="com.haitongauto.models.pojo.Appointment">
select *
from applet_appointment
@ -133,5 +145,4 @@
</select>
</mapper>

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Thu May 30 17:32:30 CST 2024
#Wed Jul 10 14:28:19 CST 2024
version=1.0-SNAPSHOT
groupId=org.example
artifactId=mapper

View File

@ -0,0 +1,40 @@
package com.haitongauto.models.dto.open;
import lombok.Data;
@Data
public class TruckUser {
/** 板车id */
private String id ;
/** 微信openid */
private String wx_openid;
/** 用户id */
private String users_id ;
/** 用户姓名 */
private String users_name ;
/** 身份证 */
private String id_code ;
/** 车牌号 */
private String truck_number ;
/** 行驶证ID */
private String driving_license_id ;
/** 司机电话 */
private String tel_number ;
/** 车头车架号 */
private String head_frame_number ;
/** 车辆自重 */
private Double vehicle_weight ;
/** 车架重 */
private Double vehicle_frame_weight ;
/** 行驶证(扫描件) */
private String driving_license ;
/** 板车状态1-默认0-其他4-拉黑) */
private Integer truck_state ;
/** 创建时间 */
private String create_time ;
/** 更新时间 */
private String update_time ;
/** 是否软删除 */
private Integer is_del ;
}

View File

@ -10,4 +10,7 @@ public class YardGoodsStateRespDTO {
/*** 在场状态: 1是 0否*/
private Integer inYardFlag;
/*** 是否调拨: 1是 0否*/
private String isAllocate;
}

View File

@ -66,4 +66,6 @@ public class UserInfoRes implements Serializable {
*/
private String openId;
private String mediaType;
}

View File

@ -1,20 +1,15 @@
package com.haitongauto.models.pojo;
import lombok.Data;
@Data
public class Message {
/** id*/
private String id;
/** 1-收车 2-提车*/
private Integer type;
/**
* 小票id
*/
/*** 小票id*/
private String prc_id;
/** */
@ -25,12 +20,16 @@ public class Message {
/** 板车号*/
private String truck_number;
/** 0-未读 1-已读*/
private Integer is_read;
/** 创建时间*/
private String create_time;
/** 修改时间*/
private String update_time;
/** 是否删除*/
private Integer is_del;

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Thu May 30 17:32:06 CST 2024
#Wed Jul 10 14:28:05 CST 2024
version=1.0-SNAPSHOT
groupId=org.example
artifactId=models

View File

@ -11,6 +11,7 @@ com\haitongauto\models\dto\RecAndDepExcelDto.class
com\haitongauto\models\valid\cus\CheckStatus.class
com\haitongauto\models\dto\app\GateCarNumberRespDTO.class
com\haitongauto\models\ido\PicturePathIdo.class
com\haitongauto\models\dto\open\TruckUser.class
com\haitongauto\models\open\TruckIdo.class
com\haitongauto\models\ido\CommonRes.class
com\haitongauto\models\forward\AppointForward.class

View File

@ -71,6 +71,7 @@ F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\ido
F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\ido\receiving\ReceivingVehicleIdo_DTO.java
F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\sysuser\OldSysTruck.java
F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\ido\departure\DepartureVehicleIdo.java
F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\dto\open\TruckUser.java
F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\ido\departure\DepVinIdo.java
F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\forward\VinDetail.java
F:\Codes\rtos\v4\mini-service-v4\models\src\main\java\com\haitongauto\models\forward\UserTruck.java

View File

@ -79,6 +79,7 @@
<version>2.9.2</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>

View File

@ -30,7 +30,6 @@ public class CheckHelper {
* 返回验证不通过的vins
*/
public static List<String> CheckVinContainEnOrDi(List<String> vinlist) {
if (vinlist == null || vinlist.size() == 0) {
return null;
}

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Thu May 30 17:32:21 CST 2024
#Wed Jul 10 14:28:16 CST 2024
version=1.0-SNAPSHOT
groupId=org.example
artifactId=utils

Binary file not shown.

View File

@ -193,7 +193,16 @@
<artifactId>Json-Gson</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.owasp.encoder</groupId>
<artifactId>encoder</artifactId>
<version>1.2.3</version> <!-- 替换为最新版本 -->
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.9</version> <!-- 替换为当前版本 -->
</dependency>
</dependencies>
<build>

View File

@ -0,0 +1,49 @@
package com.haitongauto.rtosam;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import javax.annotation.PostConstruct;
/**
* 拦截器的属性配置
*
*/
@Configuration
@ConditionalOnClass(WebMvcConfigurer.class)
public class InterceptorConfiguration implements WebMvcConfigurer {
@Autowired
private ObjectMapper objectMapper;
@PostConstruct
public void EnumObjectMapper() {
// 解决enum不匹配问题 默认值为false
objectMapper.configure(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL, true);
}
/**
* 权限验证过滤器
* @return
*/
@Bean
public PermInterceptor permInterceptor() {
return new PermInterceptor();
}
@Override
@ConditionalOnBean(PermInterceptor.class)
public void addInterceptors(InterceptorRegistry registry) {
// 拦截器
InterceptorRegistration registration = registry.addInterceptor(permInterceptor());
}
}

View File

@ -0,0 +1,116 @@
package com.haitongauto.rtosam;
import com.haitongauto.interfaces.UsersApi;
import com.haitongauto.models.ido.login.UserInfoRes;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.util.AntPathMatcher;
import org.springframework.web.context.support.WebApplicationContextUtils;
import org.springframework.web.servlet.HandlerInterceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* 权限过滤器
*/
public class PermInterceptor implements HandlerInterceptor {
public static final String[] SWAGGER_EXCLUDE_PATHS = {"/doc.html", "/swagger-resources/**", "/webjars/**", "/v2/**", "/favicon.ico", "/swagger-ui.htmL/**", "/health/ping"};
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
String uri = request.getRequestURI();
AntPathMatcher antPathMatcher = new AntPathMatcher();
for (String p : SWAGGER_EXCLUDE_PATHS) {
if (antPathMatcher.match(p, uri)) {
return true;
}
}
//判断是否登录
String userId = "";
String username = "";
// 小程序mini-app, 客户平台customer,app端app,pad端pad,海通后台web
try {
BeanFactory factory = WebApplicationContextUtils.getRequiredWebApplicationContext(request.getServletContext());
//老系统同步新系统 没有token直接放过
// if (StringUtils.equalsAny(request.getRequestURI(), "/appointment/execTruckOrderNsFin")) {
// return true;
// }
UsersApi openApi = factory.getBean(UsersApi.class);
UserInfoRes info = openApi.getUserInfo().getData();
if (StringUtils.equalsIgnoreCase(info.getMediaType(), "customer") && StringUtils.equalsAny(request.getRequestURI()
, "/admin/AnnouncementInfo"
, "/admin/QueryOperateIntroductionBySort"
, "/admin/AnnouncementListForCondition"
)) {
return true;
}
if (StringUtils.equalsIgnoreCase(info.getMediaType(), "app")
|| StringUtils.equalsIgnoreCase(info.getMediaType(), "pad")
|| StringUtils.equalsIgnoreCase(info.getMediaType(), "web")) {
return true;
} else if (StringUtils.equalsIgnoreCase(info.getMediaType(), "mini-app")) {
response.setStatus(HttpServletResponse.SC_FORBIDDEN);
// 可以设置响应体
response.getWriter().write("Access Forbidden");
return false;
} else if (StringUtils.equalsIgnoreCase(info.getMediaType(), "customer")) {
response.setStatus(HttpServletResponse.SC_FORBIDDEN);
// 可以设置响应体
response.getWriter().write("Access Forbidden");
return false;
} else {
response.setStatus(HttpServletResponse.SC_FORBIDDEN);
// 可以设置响应体
response.getWriter().write("Access Forbidden");
}
} catch (Exception e) {
throw new RuntimeException(e);
// response.setStatus(HttpServletResponse.SC_FORBIDDEN);
// // 可以设置响应体
// response.getWriter().write("Access Forbidden");
// return false;
}
return true;
}
@Override
public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) {
// UserContext.clear();
}
/**
* 判断是否有权限
* 1.从请求头中获取token
*
* 2.通过token从redis中获取当前登录对象object
*
* 3.通过对象查询数据库是否存在当前对象
*
* 4.获取登录对象的登录名 判断是否是admin或者总经理这两个账号拥有最高权限
*
* 5.判断是否被授权获取临时授权时设置的开始时间结束时间当前时间
*
* 获取这个三个时间的时间戳判断当前时间是否在开始时间和结束时间之间
*
* 如果开始时间和结束时间为空的话表示当前登录对象未被临时授权会执行后面的 456
*
* 如果有时间但是当前时间不在这个时间段也会执行 456
*
* 如果有时间并且当前时间在这个时间段之中就会直接返回true
*
* 6.从请求头中获取当前接口的地址
*
* 7.通过当前登录对象的id查询权限
*
* 8.判断当前登录对象的权限中是否包含当前接口的地址如果包含允许当前登录对象访问如果不包含则不允许当前登录人访问
*
* 版权声明本文为CSDN博主原你是阳光(#`O)的原创文章遵循CC 4.0 BY-SA版权协议转载请附上原文出处链接及本声明
* 原文链接https://blog.csdn.net/weixin_58696998/article/details/124663181
* @param request
* @return
*/
}

View File

@ -7,15 +7,15 @@ import com.haitongauto.rtosam.service.admin.ResponseService;
import com.haitongauto.rtosam.service.base.AnnouncementService;
import com.haitongauto.models.dto.Pages;
import com.github.pagehelper.PageInfo;
import org.apache.commons.lang3.StringEscapeUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.*;
/**
* 后台管理接口公告管理
*/
@ -70,7 +70,6 @@ public class AnnouncementAdminController {
dateEnd = dates[1];
}
}
}
//解析分页参数
Integer pageNum = (pages != null && pages.getPageNum() != null && pages.getPageNum() > 0) ? pages.getPageNum() : 1;
@ -90,7 +89,6 @@ public class AnnouncementAdminController {
announcementsDtoList = announcementAdminService.AnnouncementListConvert(myList);
}
//分页数据添加到pages
assert pages != null;
pages.setPageCount(pageCount);
@ -144,7 +142,6 @@ public class AnnouncementAdminController {
Announcement announcements = announcementService.getById(announcement_id);
AnnouncementsDto announcementsDto = new AnnouncementsDto();
if (announcements != null) {
announcementsDto.setId(announcements.getId());
announcementsDto.setTitle(announcements.getTitle());
announcementsDto.setSort(announcements.getSort());
@ -159,7 +156,13 @@ public class AnnouncementAdminController {
}
}
announcementsDto.setAbstracts(announcements.getAbstracts());
announcementsDto.setAnnouncement(announcements.getAnnouncement());
String content = announcements.getAnnouncement();
if (content != null && !content.isEmpty()) {
String decodedHtml = StringEscapeUtils.unescapeHtml4(content);
announcementsDto.setAnnouncement(decodedHtml);
}
announcementsDto.setAuthor(announcements.getAuthor());
announcementsDto.setReading_volume(announcements.getReading_volume());
if (announcements.getCreate_time() != null) {
@ -189,6 +192,14 @@ public class AnnouncementAdminController {
*/
@RequestMapping("/AnnouncementUpdate")
public String announcementUpdate(Announcement announcement) {
String announcementStr = announcement.getAnnouncement();
if (announcementStr != null && !announcementStr.isEmpty()) {
//对参数值进行 XSS 过滤
//String encodedValue = ESAPI.encoder().encodeForHTML(announcementStr);
//String safeComment = Encode.forHtml(announcementStr);
//announcement.setAnnouncement(safeComment);
}
announcement.setIs_del(0);
Integer x = announcementService.update(announcement);
//判断请求是否成功
@ -209,6 +220,13 @@ public class AnnouncementAdminController {
*/
@RequestMapping("/AnnouncementsInsert")
public String announcementsInsert(Announcement announcement) {
String announcementStr = announcement.getAnnouncement();
if (announcementStr != null && !announcementStr.isEmpty()) {
//String safeComment = Encode.forHtml(announcementStr);
//announcement.setAnnouncement(safeComment);
}
announcement.setIs_del(0);
announcement.setReading_volume(0);
String id = announcementService.insert(announcement);
@ -251,4 +269,6 @@ public class AnnouncementAdminController {
//返回
return response.getResponseData(bl, data);
}
}

View File

@ -219,68 +219,9 @@ public class AppointmentAdminController {
return response.getResponseDataJavaJson(bl, data);
}
// /**
// * 车辆预约导出
// *
// * @param pam_id:港区id
// * @param keywords关键字姓名手机号板车号
// * @param start_date时间范围开始
// * @param end_date时间范围结束
// * @param enter_type进港类型1-外贸出口,2-外贸进口,2-整车物流,3-特保区出口,4-特保区进口,5-内贸出口,6-内贸进口
// * @param appointment_state预约状态0-已取消1-已预约
// * @param transport_type运输方式0-自开/1-板车运
// */
// @RequestMapping("/AppointmentListExporty")
// public void appointmentListExporty(String users_id, String ids, String pam_id, String keywords, String start_date, String end_date, String enter_type, Integer appointment_state, String transport_type, HttpServletResponse response) {
// //调用Service分页方法获取分页数据对象 PageInfo
// List<Appointment> myList = appointmentAdminService.AppointmentListExporty(users_id, pam_id, keywords, start_date, end_date, enter_type, appointment_state, transport_type);
// if (ids != null && !ids.isEmpty()) {
// List<String> idlist = Linq.of(ids.split(",")).toList();
// myList = Linq.of(myList).where(o -> idlist.contains(o.getId())).toList();
// }
// //转换为列表显示数据
// List<AppointmentQuery> AppointmentList = appointmentAdminService.AppointmentListConvert(myList);
//
// //昨天日期文件夹
// String yesTodayStr = FormatDateTime.getYesTodayStr();
// String yesTodayFilePath = "wx-applet-admin/src/main/resources/static/doc/exl/" + yesTodayStr + "/";
// File yesTodayFolders = new File(yesTodayFilePath);
// //如果存在则删除昨天日期文件夹
// if (yesTodayFolders.exists()) {
// boolean b = yesTodayFolders.delete();
// }
//
// //今日日期文件夹
// String todayStrStr = FormatDateTime.getTodayStr();
// String todayFilePath = "wx-applet-admin/src/main/resources/static/doc/exl/" + todayStrStr + "/";
// File todayFolders = new File(todayFilePath);
// //如果不存在创建日期文件夹
// if (!todayFolders.exists()) {
// boolean b = todayFolders.mkdirs();
// }
//
// //调用导出方法
// String fileName = ExcelGenerateHelper.outPutExcelReturnFileName(AppointmentList, AppointmentQuery.class, todayFilePath);
// InputStream inputStream = FileDownloadUtil.fileToInputStream(fileName);
//
//
// //将文件流返回客户端
// FileDownloadUtil.writeFile(response, inputStream);
//
// //判断请求是否成功
//// Boolean bl = (myList != null) ? true : false;
//// //创建返回数据data
//// Map<String, Object> data = new HashMap<>();
//// data.put("mes", "请求成功,开始导出...");
//// //添加到返回对象
//// String dataJson = response.getResponseDataJavaJson(bl, data);
//// //返回
//// return dataJson;
// }
/**
* 车辆预约导出
*
* @param ids 预约ids
* @param response response
*/

View File

@ -9,6 +9,7 @@ import com.haitongauto.models.dto.Pages;
import com.haitongauto.models.dto.app.CarOperationCountRespDTO;
import com.haitongauto.models.dto.app.CarPalletTrafficInfoRespDTO;
import com.haitongauto.models.dto.app.GateCarNumberRespDTO;
import com.haitongauto.models.dto.open.TruckUser;
import com.haitongauto.models.open.*;
import com.haitongauto.models.ido.BasicDataIdo;
import com.haitongauto.models.pojo.*;
@ -62,7 +63,6 @@ public class OpenApiController {
}
AppointmentDetail appointmentDetail = new AppointmentDetail();
appointmentDetail = openApiService.getAppointmentDetailByGoodVin(vin);
Map<Object, Object> data = new HashMap<>();
//判断请求是否成功
Boolean bl = appointmentDetail != null;
@ -78,7 +78,6 @@ public class OpenApiController {
} else {
data.put("goodInfo", appointmentDetail);
}
//封装返回数据
return response.getResponseDataJavaJson(bl, data);
@ -545,6 +544,7 @@ public class OpenApiController {
}
/**
* 根据条件查询预约明细
* @param appointmentId 预约id
* @param shipId shipId 船舶id
* @param brandId brandId 品牌id
@ -654,7 +654,6 @@ public class OpenApiController {
appointmentIdo.setGateCanalInTime(appointment.getGate_canal_in_time());
appointmentIdo.setGateCanalOutTime(appointment.getGate_canal_out_time());
List<AppointmentDetail> appointmentDetailList = openApiService.getAppointmentDetailListByAppointmentId(appointmentIdo.getId());
List<String> brandnameList = null;//品牌名
List<String> brandidList = null;//品牌id
if (appointmentDetailList != null && appointmentDetailList.size() > 0) {
@ -1268,4 +1267,35 @@ public class OpenApiController {
return myResponse.toJSONString();
}
/**
* 查询板车信息
* @param truckNumList
* @return
*/
@PostMapping("/getTruckByTruckNos")
public String getTruckByTruckNos(@RequestBody List<String> truckNumList) {
Response<Object> myResponse = new Response();
String msg = "";
if (truckNumList == null || truckNumList.isEmpty()) {
msg = "车牌号不能为空";
myResponse.setCode(-200);
myResponse.setMsg("车牌号不能为空");
//判断请求是否成功
Boolean bl = false;
//创建返回数据
Map<String, Object> data = new HashMap<>();
myResponse.toJSONString();
}
try {
List<TruckUser> list = openApiService.getTruckByTruckNos(truckNumList);
myResponse.setCode(200);
myResponse.setData(list);
} catch (Exception ex) {
myResponse.setCode(500);
myResponse.setMsg(ex.getMessage());
}
return myResponse.toJSONString();
}
}

Some files were not shown because too many files have changed in this diff Show More