关于state显示的问题
状态(0-新开,1-开工,2-在建,3-竣工,4-投产) 数据库字段是statedatagrid方法中返回的是2,但是页面上有个data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA6CAIAAABjx604AAACvUlEQVRoge2YTXKjMBBG+0K94zBWttzEsOUchuw5hOP2BaiaM8wAY35WmgVItBBgD8EGUn6LBAkJPX1SVKrA3x0Cv3YIrJ3aHN7Sr2Kfe7qu67quiajeNtwQVvSYDVRVVVUVEVXbhhvCih6zgbIsy7IkonLbcENY0WM2UBRFURREVGwbbghTDa8+fnwOFgb4/ED/+n25R5hM2pa++gjD6lcfnyptJH0bgnwEEd3IRxGxOhF17263SMAkXdelaaWJyKyPBKAfDUkPQj6iEMKnsQbfhhuOXpguHqIQKDwPB1JE72I0BRG2ffiLp12Yml9ENCwuQlUIBdhGFw8B0As9bF+2Fcubc8OJq2koAEBLWzahMBLnKV887K/GokCe53meE1FuEIomQBHqsgi/unKfUMDYq2XghjCloCVDAeh9WW5qJvpd88CengNkWZZlGRFlNucjHk7Z+YhwOKm60wGakqo+HxGPZ94Hj+depwXghjDV8HxEALAG195d0ThZ2BSeA6RpmqYpEaXbhhvCih6z2WfSf3ZIK01E63rchRvC7x2yz3/WSCmllEQktw03hBU9ZvNO+lW8k34VPzvpJHCcIFlk/G9/6uGkny4du92V3I2tTptMOglcVZcEDkyONZF0Ejhq5k6Q6JG66u7DOiVVpRuxwdn3pp1kEjhW2A8lHbvmKrXS7Hux246tH2Qc9Cv0E+t4b9FmJx27vbk2IxnjKaPOzO6r3vHw7kj347INR5K2F6gZyfDTjbqFd2NzG+itwDtOScfuvb0jR5Mekzbq+wmrZbVWqSc6Kj2csW04tqeTwHl0T3d/98qWzyZ2m+bm7na6Hmz7jxr3eOz0cGM5cHqoIboTVg9qnjxmM8d1HVuUH9NDZ/Vm7h5zz/417x7/5byZpOfys295W+Kd9KsAKSUppJrQBn/y4nt7vIp/yrcV1HKG+M0AAAAASUVORK5CYII=
就是多了个closed.有办法解决嘛?
3.3.2版本
实体的属性 可以改名
比如
private String auditState;
数据库的对应字段还是数据库中的物理字段
@Colums(name="state") 数据库中的物理字段,就是列表显示的时候多了个CLOSE 好了,解决了,谢谢gin
页:
[1]