根据角色 查询用户
This commit is contained in:
@@ -20,10 +20,11 @@ public @interface EpcLog {
|
||||
*/
|
||||
public BusinessType businessType() default BusinessType.其他;
|
||||
|
||||
|
||||
//描述接口 可以理解为 接口在哪个模块下简单描述
|
||||
String description();
|
||||
|
||||
//某些个接口需要特殊的返回语法 所以需要在这注解写死的部分
|
||||
String speclaiValue() default "";
|
||||
//可以给接口一个特殊标志位能够 对数据进行特殊处理
|
||||
String speclaiFlag() default "";
|
||||
|
||||
}
|
||||
|
||||
@@ -89,6 +89,7 @@ public class logs {
|
||||
log.setSpecial(object.getString("standSort") + " " + object.getString("standNumber") + "-" + object.getString("standYear") + " " + object.getString("standEnName") + " " + speclaiValue);
|
||||
}
|
||||
}else if ("Invaliddownload1".equals(speclaiFlag) || "Invaliddownload2".equals(speclaiFlag) || "2".equals(speclaiFlag)){
|
||||
//国内预览 下载 带水印下载
|
||||
StringBuilder stringBuilder1=new StringBuilder();
|
||||
for (String s:logParams.keySet()){
|
||||
if (s.equals("standNumber")) {
|
||||
@@ -100,6 +101,7 @@ public class logs {
|
||||
stringBuilder1.append(" "+speclaiValue);
|
||||
log.setSpecial(stringBuilder1.toString());
|
||||
}else if ("Foreigndownload1".equals(speclaiFlag) || "Foreigndownload2".equals(speclaiFlag) || "3".equals(speclaiFlag)){
|
||||
//海外预览 下载 带水印下载
|
||||
StringBuilder stringBuilder1=new StringBuilder();
|
||||
for (String s:logParams.keySet()){
|
||||
if (s.equals("standNumber")) {
|
||||
@@ -111,11 +113,13 @@ public class logs {
|
||||
stringBuilder1.append(" "+speclaiValue);
|
||||
log.setSpecial(stringBuilder1.toString());
|
||||
}else if ("5".equals(speclaiFlag)){
|
||||
//企标详情
|
||||
String gson=new Gson().toJson(returnValue);
|
||||
JSONObject jsonObject= JSON.parseObject(gson);
|
||||
JSONObject object= JSON.parseObject(jsonObject.getString("data"));
|
||||
log.setSpecial(object.getString("standCode")+" "+object.getString("standName")+" "+speclaiValue);
|
||||
}else if ("Buss".equals(speclaiFlag)){
|
||||
//企标下载 预览 带水印下载
|
||||
StringBuilder stringBuilder1=new StringBuilder();
|
||||
for (String s:logParams.keySet()){
|
||||
if (s.equals("standCode")) {
|
||||
|
||||
Reference in New Issue
Block a user