修复条码状态查询异常

yun-zuoyi
puxiao.liao 4 years ago
parent 80b5cca624
commit 0c50abaea8

@ -86,7 +86,7 @@ public class DdlPreparedPack {
* @param isShowTime
*/
public static void timeBuilder(String date, String columnName, DdlPackBean packBean, Boolean showTaday, boolean isShowTime) {
if (date != null && date.trim().length() > 0) {
if (date != null && date.trim().length() > 2) {
String today = (new SimpleDateFormat("yyyy-MM-dd")).format(new Date());
if (date != null && date.trim().length() > 0 && (date.length() == 1 || ",".equals(date))) {
//只有一个逗号

Loading…
Cancel
Save