|
|
|
@ -32,6 +32,17 @@ public class WmsBsonPack {
|
|
|
|
|
bson = BsonPackTool.getStringEqualPack(actionLog.getOrganizeCode(), "organizeCode", bson);
|
|
|
|
|
bson = BsonPackTool.getNumEqualPack(actionLog.getIsValid(), "isValid", bson);
|
|
|
|
|
bson = BsonPackTool.getNumEqualPack(actionLog.getIsDeleted(), "isDeleted", bson);
|
|
|
|
|
|
|
|
|
|
if((actionLog.getStartTimeStart() != null&&actionLog.getStartTimeStart() !="")
|
|
|
|
|
|| (actionLog.getStartTimeEnd() != null&&actionLog.getStartTimeEnd() != "")){
|
|
|
|
|
bson = BsonPackTool.timeBuilder(actionLog.getStartTimeStart(), actionLog.getStartTimeEnd(), "startTime", bson, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if((actionLog.getEndTimeStart() != null&&actionLog.getEndTimeStart() != "")
|
|
|
|
|
|| (actionLog.getEndTimeEnd() != null&&actionLog.getEndTimeEnd() != "")){
|
|
|
|
|
bson = BsonPackTool.timeBuilder(actionLog.getEndTimeStart(), actionLog.getEndTimeEnd(), "endTime", bson, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return bson;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|