|
@@ -196,14 +196,10 @@ public class ControlUtil {
|
|
|
JSONObject postParam2=new JSONObject();
|
|
|
postParam.put("groupCode", RepositoryContainer.RepositoryProject.groupCode);
|
|
|
postParam.put("projectId", RepositoryContainer.RepositoryProject.projectId);
|
|
|
- if (userId == null || userId.length() == 0) {
|
|
|
- postParam.put("userId", "systemId");
|
|
|
- } else {
|
|
|
+ if (userId != null) {
|
|
|
postParam.put("userId", userId);
|
|
|
}
|
|
|
- if (userName == null || userName.length() == 0) {
|
|
|
- postParam.put("userName", "系统");
|
|
|
- } else {
|
|
|
+ if (userName != null) {
|
|
|
postParam.put("userName", userName);
|
|
|
}
|
|
|
SceneDataObject sdo = sdoList.get(i);
|