|
|
@@ -76,7 +76,7 @@ public class coursewaredetail extends Controller {
|
|
|
|
|
|
UpdateSQL updateSQL = SQLFactory.createUpdateSQL(this, "sat_coursewaredetail");
|
|
|
updateSQL.setSiteid(siteid);
|
|
|
- updateSQL.setValue("status", type == 0 ? "上架" : "下架");
|
|
|
+ updateSQL.setValue("status", type == 0 ? "下架" : "上架");
|
|
|
updateSQL.setValue("sendby", type == 0 ? "null" : username);
|
|
|
updateSQL.setValue("senddate", type == 0 ? "null" : getDateTime_Str());
|
|
|
updateSQL.setWhere("sat_coursewaredetailid", sat_coursewaredetailids.toArray());
|