|
|
@@ -411,7 +411,7 @@ public class _ContentController extends JBaseCRUDController<Content> {
|
|
|
@Override
|
|
|
public boolean run() throws SQLException {
|
|
|
//新闻中心元数据排序时间
|
|
|
- if ("news".equals(content.getModule()) && metas != null) {
|
|
|
+ if ("news".equals(content.getModule()) && metas != null && metas.get("order_time") != null) {
|
|
|
String orderTime = metas.get("order_time").replaceAll("T", " ");
|
|
|
java.text.SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm");
|
|
|
try {
|